summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-12-05 01:01:37 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-12-05 01:01:37 +0000
commit9a0b40297257f0dcb4fdce7f914c630fad345eeb (patch)
tree672dec8d1d0606cde7c10034b352da7f60d9e6e6
parentc4dd56b9cf0235932f533d97091118e8a8e74062 (diff)
downloadbcm5719-llvm-9a0b40297257f0dcb4fdce7f914c630fad345eeb.tar.gz
bcm5719-llvm-9a0b40297257f0dcb4fdce7f914c630fad345eeb.zip
DwarfDebug: Remove trivial function wrapper
llvm-svn: 196445
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp8
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h3
2 files changed, 2 insertions, 9 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 9312710b62f..f925d17f19d 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -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::constructSkeletonCU(const CompileUnit *CU) {
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() {
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
index 92152507254..9731a3db7dc 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -615,9 +615,6 @@ class DwarfDebug : public AsmPrinterHandler {
/// 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();
OpenPOWER on IntegriCloud