mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-13 09:33:50 +00:00
DebugInfo: Limit r203187 to non-darwin as lldb can't handle this yet
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203192 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d5c1fb9676
commit
4b102527fa
@ -413,8 +413,11 @@ DIE *DwarfDebug::updateSubprogramScopeDIE(DwarfCompileUnit *SPCU,
|
|||||||
}
|
}
|
||||||
|
|
||||||
SPCU->addLabelAddress(SPDie, dwarf::DW_AT_low_pc, FunctionBeginSym);
|
SPCU->addLabelAddress(SPDie, dwarf::DW_AT_low_pc, FunctionBeginSym);
|
||||||
SPCU->addLabelDelta(SPDie, dwarf::DW_AT_high_pc, FunctionEndSym,
|
if (Triple(Asm->getTargetTriple()).isOSDarwin())
|
||||||
FunctionBeginSym);
|
SPCU->addLabelAddress(SPDie, dwarf::DW_AT_high_pc, FunctionEndSym);
|
||||||
|
else
|
||||||
|
SPCU->addLabelDelta(SPDie, dwarf::DW_AT_high_pc, FunctionEndSym,
|
||||||
|
FunctionBeginSym);
|
||||||
|
|
||||||
const TargetRegisterInfo *RI = Asm->TM.getRegisterInfo();
|
const TargetRegisterInfo *RI = Asm->TM.getRegisterInfo();
|
||||||
MachineLocation Location(RI->getFrameRegister(*Asm->MF));
|
MachineLocation Location(RI->getFrameRegister(*Asm->MF));
|
||||||
|
@ -4,7 +4,7 @@ target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f3
|
|||||||
target triple = "x86_64-apple-darwin10.0.0"
|
target triple = "x86_64-apple-darwin10.0.0"
|
||||||
;Radar 8950491
|
;Radar 8950491
|
||||||
|
|
||||||
;CHECK: .long Lset6
|
;CHECK: .long Lset5
|
||||||
;CHECK-NEXT: ## DW_AT_decl_file
|
;CHECK-NEXT: ## DW_AT_decl_file
|
||||||
;CHECK-NEXT: ## DW_AT_decl_line
|
;CHECK-NEXT: ## DW_AT_decl_line
|
||||||
;CHECK-NEXT: ## DW_AT_type
|
;CHECK-NEXT: ## DW_AT_type
|
||||||
|
Loading…
x
Reference in New Issue
Block a user