Remove the unused string section symbol parameter from DwarfFile::emitStrings
[oota-llvm.git] / lib / CodeGen / AsmPrinter / DwarfStringPool.cpp
index 72cab60e2321c0a14c068fea4bcd4e9e0639c42f..830b04acb3ed28c50012f32ebfcf9c772e0c64c7 100644 (file)
@@ -12,8 +12,6 @@
 
 using namespace llvm;
 
-MCSymbol *DwarfStringPool::getSectionSymbol() { return SectionSymbol; }
-
 static std::pair<MCSymbol *, unsigned> &
 getEntry(AsmPrinter &Asm,
          StringMap<std::pair<MCSymbol *, unsigned>, BumpPtrAllocator &> &Pool,
@@ -36,8 +34,7 @@ unsigned DwarfStringPool::getIndex(AsmPrinter &Asm, StringRef Str) {
 }
 
 void DwarfStringPool::emit(AsmPrinter &Asm, const MCSection *StrSection,
-                           const MCSection *OffsetSection,
-                           const MCSymbol *StrSecSym) {
+                           const MCSection *OffsetSection) {
   if (Pool.empty())
     return;