brintos

brintos / llvm-project-archived public Read only

0
0
Text · 740 B · 6094bad Raw
16 lines · plain
1# RUN: llvm-mc -assemble -triple i386-apple-darwin9 -filetype=obj %p/Inputs/macho.32.s -o %t.32.o2# RUN: llvm-objcopy %t.32.o %t.32.copy.o3# RUN: cmp %t.32.o %t.32.copy.o4 5# RUN: llvm-mc -assemble -triple x86_64-apple-darwin9 -filetype=obj %p/Inputs/macho.64.s -o %t.64.o6# RUN: llvm-objcopy %t.64.o %t.64.copy.o7# RUN: cmp %t.64.o %t.64.copy.o8 9# Make sure that it properly constructs LC_DYSYMTAB and handles virtual sections10# (the bss section for example).11# RUN: llvm-mc -assemble -triple x86_64-apple-darwin9 -filetype=obj %p/Inputs/various-symbols.s -o %t.various-symbols.o12# RUN: llvm-objcopy %t.various-symbols.o %t.various-symbols.copy.o13# RUN: cmp %t.various-symbols.o %t.various-symbols.copy.o14 15# REQUIRES: x86-registered-target16