1# RUN: llvm-mc -assemble -triple i386-apple-darwin9 -filetype=obj %p/Inputs/macho.32.s -o %t.32.o 2# RUN: llvm-objcopy %t.32.o %t.32.copy.o 3# RUN: cmp %t.32.o %t.32.copy.o 4 5# RUN: llvm-mc -assemble -triple x86_64-apple-darwin9 -filetype=obj %p/Inputs/macho.64.s -o %t.64.o 6# RUN: llvm-objcopy %t.64.o %t.64.copy.o 7# RUN: cmp %t.64.o %t.64.copy.o 8 9# Make sure that it properly constructs LC_DYSYMTAB and handles virtual sections 10# (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.o 12# RUN: llvm-objcopy %t.various-symbols.o %t.various-symbols.copy.o 13# RUN: cmp %t.various-symbols.o %t.various-symbols.copy.o 14 15# REQUIRES: x86-registered-target 16