mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
562a67db32
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151778 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
937 B
LLVM
16 lines
937 B
LLVM
; RUN: llc < %s -filetype=obj -mtriple=thumbv6-apple-darwin -o - | macho-dump --dump-section-data | FileCheck -check-prefix=CHECK-T1 %s
|
|
; RUN: llc < %s -filetype=obj -mtriple=thumbv7-apple-darwin -o - | macho-dump --dump-section-data | FileCheck -check-prefix=CHECK-T2 %s
|
|
; RUN: llc < %s -filetype=obj -mtriple=armv6-apple-darwin -o - | macho-dump --dump-section-data | FileCheck -check-prefix=CHECK-ARM %s
|
|
; RUN: llc < %s -filetype=obj -mtriple=armv7-apple-darwin -o - | macho-dump --dump-section-data | FileCheck -check-prefix=CHECK-ARMV7 %s
|
|
|
|
; Empty functions need a NOP in them for MachO to prevent DWARF FDEs from
|
|
; getting all mucked up. See lib/CodeGen/AsmPrinter/AsmPrinter.cpp for
|
|
; details.
|
|
define internal fastcc void @empty_function() {
|
|
unreachable
|
|
}
|
|
; CHECK-T1: ('_section_data', 'c046')
|
|
; CHECK-T2: ('_section_data', '00bf')
|
|
; CHECK-ARM: ('_section_data', '0000a0e1')
|
|
; CHECK-ARMV7: ('_section_data', '00f020e3')
|