diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-05-28 18:55:38 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-05-28 18:55:38 +0000 |
commit | b04fb5ed25d6f1cfcbebc52443c6ed721f59f66c (patch) | |
tree | 258433d021427e3471a06f7df2257f688135473d /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | |
parent | c9741603bca0909c959e8ba24c52d8c675653eb5 (diff) | |
download | bcm5719-llvm-b04fb5ed25d6f1cfcbebc52443c6ed721f59f66c.tar.gz bcm5719-llvm-b04fb5ed25d6f1cfcbebc52443c6ed721f59f66c.zip |
AsmPrinter: Rename begin_values() => values_begin(), NFC
llvm-svn: 238456
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 213e968e00b..689184a651e 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp @@ -242,7 +242,7 @@ void DwarfCompileUnit::initStmtList() { MCSymbol *LineTableStartSym = Asm->OutStreamer->getDwarfLineTableSymbol(getUniqueID()); - stmtListIndex = std::distance(UnitDie.begin_values(), UnitDie.end_values()); + stmtListIndex = std::distance(UnitDie.values_begin(), UnitDie.values_end()); // 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.begin_values()[stmtListIndex]); + D.addValue(UnitDie.values_begin()[stmtListIndex]); } void DwarfCompileUnit::attachLowHighPC(DIE &D, const MCSymbol *Begin, |