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

11 lines
309 B
Plaintext
Raw Permalink Normal View History

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