forked from OSchip/llvm-project
DebugInfo: Limit r203187 to non-darwin as lldb can't handle this yet
llvm-svn: 203192
This commit is contained in:
parent
698a8abb9a
commit
479323a62b
|
@ -413,8 +413,11 @@ DIE *DwarfDebug::updateSubprogramScopeDIE(DwarfCompileUnit *SPCU,
|
|||
}
|
||||
|
||||
SPCU->addLabelAddress(SPDie, dwarf::DW_AT_low_pc, FunctionBeginSym);
|
||||
SPCU->addLabelDelta(SPDie, dwarf::DW_AT_high_pc, FunctionEndSym,
|
||||
FunctionBeginSym);
|
||||
if (Triple(Asm->getTargetTriple()).isOSDarwin())
|
||||
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();
|
||||
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"
|
||||
;Radar 8950491
|
||||
|
||||
;CHECK: .long Lset6
|
||||
;CHECK: .long Lset5
|
||||
;CHECK-NEXT: ## DW_AT_decl_file
|
||||
;CHECK-NEXT: ## DW_AT_decl_line
|
||||
;CHECK-NEXT: ## DW_AT_type
|
||||
|
|
Loading…
Reference in New Issue