mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Don't produce a __debug_frame.
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. llvm-svn: 130937
This commit is contained in:
parent
1d93d48152
commit
ab39b8319b
@ -74,7 +74,7 @@ MCAsmInfo::MCAsmInfo() {
|
||||
HasLEB128 = false;
|
||||
SupportsDebugInformation = false;
|
||||
ExceptionsType = ExceptionHandling::None;
|
||||
DwarfRequiresFrameSection = true;
|
||||
DwarfRequiresFrameSection = false;
|
||||
DwarfUsesInlineInfoSection = false;
|
||||
DwarfRequiresRelocationForStmtList = true;
|
||||
DwarfSectionOffsetDirective = 0;
|
||||
|
@ -6,10 +6,24 @@ entry:
|
||||
unreachable
|
||||
}
|
||||
; CHECK-NO-FP: _func:
|
||||
; CHECK-NO-FP-NOT: movq %rsp, %rbp
|
||||
; 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: movq %rsp, %rbp
|
||||
; CHECK-FP-NEXT: Ltmp1:
|
||||
; CHECK-FP: nop
|
||||
; 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user