diff options
| author | David Blaikie <dblaikie@gmail.com> | 2019-12-12 16:53:59 -0800 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2019-12-12 16:53:59 -0800 |
| commit | 8e04896288d22ed8bef7ac367923374f96b753d6 (patch) | |
| tree | 36482d38ea883451211f7b7b1263123def77fad7 /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | |
| parent | 20e06a28dac65a68bfd906d703e980a8212f6187 (diff) | |
| download | bcm5719-llvm-8e04896288d22ed8bef7ac367923374f96b753d6.tar.gz bcm5719-llvm-8e04896288d22ed8bef7ac367923374f96b753d6.zip | |
NFC: DebugInfo: Refactor RangeSpanList to be a struct, like DebugLocStream::List
Move these data structures closer together so their emission code can
eventually share more of its implementation.
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 0f3d8c689fa..5707f962b4b 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.getSym(), + addSectionDelta(ScopeDIE, dwarf::DW_AT_ranges, List.Label, RangeSectionSym); else - addSectionLabel(ScopeDIE, dwarf::DW_AT_ranges, List.getSym(), + addSectionLabel(ScopeDIE, dwarf::DW_AT_ranges, List.Label, RangeSectionSym); } } |

