brintos

brintos / llvm-project-archived public Read only

0
0
Text · 562 B · e1ed696 Raw
20 lines · plain
1RUN: yaml2obj %S/Inputs/macho.yaml -o %t-macho.o2RUN: yaml2obj %S/Inputs/coff.yaml -o %t-coff.o3RUN: yaml2obj %S/Inputs/elf.yaml -o %t-elf.o4 5RUN: rm -f %t.ar6RUN: llvm-ar crs %t.ar %t-macho.o7RUN: grep -q __.SYMDEF %t.ar8 9RUN: rm -f %t.ar10RUN: llvm-ar crs %t.ar %t-coff.o11RUN: not grep -q __.SYMDEF %t.ar12RUN: llvm-ar crs %t.ar %t-macho.o13RUN: not grep -q __.SYMDEF %t.ar14RUN: llvm-ar crs %t.ar %t-elf.o15RUN: not grep -q __.SYMDEF %t.ar16 17RUN: rm -f %t.ar18Test with the options in a different order.19RUN: llvm-ar rsc %t.ar %t-macho.o20RUN: grep -q __.SYMDEF %t.ar