mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-22 23:24:59 +00:00
AsmPrinter: Stop exposing underlying DIEValue list, NFC
Change the `DIE` API to hide the implementation of the list of `DIEValue`s. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238369 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -242,7 +242,7 @@ void DwarfCompileUnit::initStmtList() {
|
||||
MCSymbol *LineTableStartSym =
|
||||
Asm->OutStreamer->getDwarfLineTableSymbol(getUniqueID());
|
||||
|
||||
stmtListIndex = UnitDie.getValues().size();
|
||||
stmtListIndex = std::distance(UnitDie.begin_values(), UnitDie.end_values());
|
||||
|
||||
// DW_AT_stmt_list is a offset of line number information for this
|
||||
// compile unit in debug_line section. For split dwarf this is
|
||||
@@ -255,7 +255,7 @@ void DwarfCompileUnit::initStmtList() {
|
||||
}
|
||||
|
||||
void DwarfCompileUnit::applyStmtList(DIE &D) {
|
||||
D.addValue(UnitDie.getValues()[stmtListIndex]);
|
||||
D.addValue(UnitDie.begin_values()[stmtListIndex]);
|
||||
}
|
||||
|
||||
void DwarfCompileUnit::attachLowHighPC(DIE &D, const MCSymbol *Begin,
|
||||
|
Reference in New Issue
Block a user