summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-ar/default-coff.test
blob: a7ce44a23d2afd50a46298b979d4ee5cf76b6a21 (plain)
1
2
3
4
5
6
7
8
9
10
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.

OpenPOWER on IntegriCloud