llvm-for-llvmta/test/tools/llvm-ar/default-elf.test

10 lines
241 B
Plaintext
Raw Normal View History

2022-04-25 10:02:23 +02:00
RUN: yaml2obj %S/Inputs/elf.yaml -o %t.o
RUN: rm -f %t.ar
RUN: llvm-ar crs %t.ar %t.o
RUN: not grep -q __.SYMDEF %t.ar
Ensure that we generate a GNU style archive for ELF by default. The GNU linker
expects that it will be in GNU format.