1 ; RUN: llc < %s -filetype=obj -mtriple=thumbv6-apple-darwin -o - | llvm-readobj -s -sd | FileCheck -check-prefix=CHECK-T1 %s 2 ; RUN: llc < %s -filetype=obj -mtriple=thumbv7-apple-darwin -o - | llvm-readobj -s -sd | FileCheck -check-prefix=CHECK-T2 %s 3 ; RUN: llc < %s -filetype=obj -mtriple=armv6-apple-darwin -o - | llvm-readobj -s -sd | FileCheck -check-prefix=CHECK-ARM %s 4 ; RUN: llc < %s -filetype=obj -mtriple=armv7-apple-darwin -o - | llvm-readobj -s -sd | FileCheck -check-prefix=CHECK-ARMV7 %s 5 6 ; Empty functions need a NOP in them for MachO to prevent DWARF FDEs from 7 ; getting all mucked up. See lib/CodeGen/AsmPrinter/AsmPrinter.cpp for 8 ; details. 9 define internal fastcc void @empty_function() { 10 unreachable 11 } 12 ; CHECK-T1: SectionData ( 13 ; CHECK-T1: 0000: FEDE |..| 14 ; CHECK-T1: ) 15 ; CHECK-T2: SectionData ( 16 ; CHECK-T2: 0000: FEDE |..| 17 ; CHECK-T2: ) 18 ; CHECK-ARM: SectionData ( 19 ; CHECK-ARM: 0000: FEDEFFE7 |....| 20 ; CHECK-ARM: ) 21 ; CHECK-ARMV7: SectionData ( 22 ; CHECK-ARMV7: 0000: FEDEFFE7 |....| 23 ; CHECK-ARMV7: ) 24