1; RUN: llc < %s -filetype=obj -mtriple=thumbv6-apple-darwin -o - | macho-dump --dump-section-data | FileCheck -check-prefix=CHECK-T1 %s 2; RUN: llc < %s -filetype=obj -mtriple=thumbv7-apple-darwin -o - | macho-dump --dump-section-data | FileCheck -check-prefix=CHECK-T2 %s 3; RUN: llc < %s -filetype=obj -mtriple=armv6-apple-darwin -o - | macho-dump --dump-section-data | FileCheck -check-prefix=CHECK-ARM %s 4; RUN: llc < %s -filetype=obj -mtriple=armv7-apple-darwin -o - | macho-dump --dump-section-data | 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. 9define internal fastcc void @empty_function() { 10 unreachable 11} 12; CHECK-T1: ('_section_data', 'c046') 13; CHECK-T2: ('_section_data', '00bf') 14; CHECK-ARM: ('_section_data', '0000a0e1') 15; CHECK-ARMV7: ('_section_data', '00f020e3') 16