[llvm] r196445 - DwarfDebug: Remove trivial function wrapper
David Blaikie
dblaikie at gmail.com
Wed Dec 4 17:01:38 PST 2013
Author: dblaikie
Date: Wed Dec 4 19:01:37 2013
New Revision: 196445
URL: http://llvm.org/viewvc/llvm-project?rev=196445&view=rev
Log:
DwarfDebug: Remove trivial function wrapper
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp?rev=196445&r1=196444&r2=196445&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Wed Dec 4 19:01:37 2013
@@ -2168,7 +2168,8 @@ void DwarfDebug::emitAbbreviations() {
emitAbbrevs(Asm->getObjFileLowering().getDwarfAbbrevSection(),
&Abbreviations);
else
- emitSkeletonAbbrevs(Asm->getObjFileLowering().getDwarfAbbrevSection());
+ emitAbbrevs(Asm->getObjFileLowering().getDwarfAbbrevSection(),
+ &SkeletonAbbrevs);
}
void DwarfDebug::emitAbbrevs(const MCSection *Section,
@@ -3019,11 +3020,6 @@ CompileUnit *DwarfDebug::constructSkelet
return NewCU;
}
-void DwarfDebug::emitSkeletonAbbrevs(const MCSection *Section) {
- assert(useSplitDwarf() && "No split dwarf debug info?");
- emitAbbrevs(Section, &SkeletonAbbrevs);
-}
-
// Emit the .debug_info.dwo section for separated dwarf. This contains the
// compile units that would normally be in debug_info.
void DwarfDebug::emitDebugInfoDWO() {
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h?rev=196445&r1=196444&r2=196445&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h Wed Dec 4 19:01:37 2013
@@ -615,9 +615,6 @@ class DwarfDebug : public AsmPrinterHand
/// section.
CompileUnit *constructSkeletonCU(const CompileUnit *CU);
- /// \brief Emit the local split abbreviations.
- void emitSkeletonAbbrevs(const MCSection *);
-
/// \brief Emit the debug info dwo section.
void emitDebugInfoDWO();
More information about the llvm-commits
mailing list