llvm-project/llvm/test/tools/llvm-ar/default-macho.test

10 lines
231 B
Plaintext

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.