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