diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-03-24 20:31:01 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-03-24 20:31:01 +0000 |
commit | f72ed5f9edce5d8fdc2892888707da95430c4cc2 (patch) | |
tree | 4775b71fed446e950a6bba9e83a99a3fcd681d18 | |
parent | db8b1d5b6c728e99e762eac3b4982e6afa2241f6 (diff) | |
download | bcm5719-llvm-f72ed5f9edce5d8fdc2892888707da95430c4cc2.tar.gz bcm5719-llvm-f72ed5f9edce5d8fdc2892888707da95430c4cc2.zip |
DwarfDebug: Remove an unused parameter
llvm-svn: 204665
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 10 | ||||
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | 3 |
2 files changed, 4 insertions, 9 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 2b5d3d4566c..e396ff9a7f4 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -1929,8 +1929,7 @@ void DwarfDebug::emitDIE(DIE *Die) { // Emit the various dwarf units to the unit section USection with // the abbreviations going into ASection. -void DwarfFile::emitUnits(DwarfDebug *DD, const MCSection *ASection, - const MCSymbol *ASectionSym) { +void DwarfFile::emitUnits(DwarfDebug *DD, const MCSymbol *ASectionSym) { for (DwarfUnit *TheU : CUs) { DIE *Die = TheU->getUnitDie(); const MCSection *USection = TheU->getSection(); @@ -1954,8 +1953,7 @@ void DwarfFile::emitUnits(DwarfDebug *DD, const MCSection *ASection, void DwarfDebug::emitDebugInfo() { DwarfFile &Holder = useSplitDwarf() ? SkeletonHolder : InfoHolder; - Holder.emitUnits(this, Asm->getObjFileLowering().getDwarfAbbrevSection(), - DwarfAbbrevSectionSym); + Holder.emitUnits(this, DwarfAbbrevSectionSym); } // Emit the abbreviation section. @@ -2692,9 +2690,7 @@ DwarfTypeUnit *DwarfDebug::constructSkeletonTU(DwarfTypeUnit *TU) { // compile units that would normally be in debug_info. void DwarfDebug::emitDebugInfoDWO() { assert(useSplitDwarf() && "No split dwarf debug info?"); - InfoHolder.emitUnits(this, - Asm->getObjFileLowering().getDwarfAbbrevDWOSection(), - DwarfAbbrevDWOSectionSym); + InfoHolder.emitUnits(this, DwarfAbbrevDWOSectionSym); } // Emit the .debug_abbrev.dwo section for separated dwarf. This contains the diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h index 357413d9ab2..71ea0fb4e72 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -271,8 +271,7 @@ public: /// \brief Emit all of the units to the section listed with the given /// abbreviation section. - void emitUnits(DwarfDebug *DD, const MCSection *ASection, - const MCSymbol *ASectionSym); + void emitUnits(DwarfDebug *DD, const MCSymbol *ASectionSym); /// \brief Emit a set of abbreviations to the specific section. void emitAbbrevs(const MCSection *); |