mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-23 15:29:51 +00:00
7af1a59382
I tested both gdb on a bootstrapped clang and and the gdb testsuite on OS X (snow leopard) and both are happy using __eh_frame. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130937 91177308-0d34-0410-b5e6-96231b3b80d8
30 lines
793 B
LLVM
30 lines
793 B
LLVM
; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck -check-prefix=CHECK-NO-FP %s
|
|
; RUN: llc < %s -mtriple=x86_64-apple-darwin -disable-fp-elim | FileCheck -check-prefix=CHECK-FP %s
|
|
|
|
define void @func() {
|
|
entry:
|
|
unreachable
|
|
}
|
|
; CHECK-NO-FP: _func:
|
|
; CHECK-NO-FP-NEXT: :
|
|
; CHECK-NO-FP-NEXT: .cfi_startproc
|
|
; CHECK-NO-FP: nop
|
|
; CHECK-NO-FP-NEXT: :
|
|
; CHECK-NO-FP-NEXT: .cfi_endproc
|
|
|
|
; CHECK-FP: _func:
|
|
; CHECK-FP-NEXT: :
|
|
; CHECK-FP-NEXT: .cfi_startproc
|
|
; CHECK-FP-NEXT: :
|
|
; CHECK-FP-NEXT: pushq %rbp
|
|
; CHECK-FP-NEXT: :
|
|
; CHECK-FP-NEXT: .cfi_def_cfa_offset 16
|
|
; CHECK-FP-NEXT: :
|
|
; CHECK-FP-NEXT: .cfi_offset 6, -16
|
|
; CHECK-FP-NEXT: movq %rsp, %rbp
|
|
; CHECK-FP-NEXT: :
|
|
; CHECK-FP-NEXT: .cfi_def_cfa_register 6
|
|
; CHECK-FP-NEXT: nop
|
|
; CHECK-FP-NEXT: :
|
|
; CHECK-FP-NEXT: .cfi_endproc
|