diff options
author | Eric Christopher <echristo@gmail.com> | 2019-12-12 17:55:41 -0800 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2019-12-12 17:55:41 -0800 |
commit | a8154e5e0c83d2f0f65f3b4fb1a0bc68785bd975 (patch) | |
tree | 5101677fad8b6921d59bed61503635b156ad5204 /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | |
parent | cdb45605571202a1bbc3fe6de300b93da79cea83 (diff) | |
download | bcm5719-llvm-a8154e5e0c83d2f0f65f3b4fb1a0bc68785bd975.tar.gz bcm5719-llvm-a8154e5e0c83d2f0f65f3b4fb1a0bc68785bd975.zip |
Temporarily revert "NFC: DebugInfo: Refactor RangeSpanList to be a struct, like DebugLocStream::List"
as it was causing bot and build failures.
This reverts commit 8e04896288d22ed8bef7ac367923374f96b753d6.
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp index 5707f962b4b..0f3d8c689fa 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp @@ -503,10 +503,10 @@ void DwarfCompileUnit::addScopeRangeList(DIE &ScopeDIE, const MCSymbol *RangeSectionSym = TLOF.getDwarfRangesSection()->getBeginSymbol(); if (isDwoUnit()) - addSectionDelta(ScopeDIE, dwarf::DW_AT_ranges, List.Label, + addSectionDelta(ScopeDIE, dwarf::DW_AT_ranges, List.getSym(), RangeSectionSym); else - addSectionLabel(ScopeDIE, dwarf::DW_AT_ranges, List.Label, + addSectionLabel(ScopeDIE, dwarf::DW_AT_ranges, List.getSym(), RangeSectionSym); } } |