mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 05:32:25 +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,6 +413,9 @@ DIE *DwarfDebug::updateSubprogramScopeDIE(DwarfCompileUnit *SPCU,
|
||||
}
|
||||
|
||||
SPCU->addLabelAddress(SPDie, dwarf::DW_AT_low_pc, 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);
|
||||
|
||||
|
@ -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
Block a user