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

10 lines
231 B
Plaintext
Raw Normal View History

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