diff options
author | Eric Christopher <echristo@apple.com> | 2011-11-07 09:38:42 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-11-07 09:38:42 +0000 |
commit | 76a4e1a0682c8e855f8b7c0a05d802dce8c07d7a (patch) | |
tree | 1b2532df5ea5532273235578e7d9ac00e673a84e /lib/CodeGen/AsmPrinter/DwarfDebug.cpp | |
parent | 2c802b7e88718f2c033fe1e7e602e341501b5d80 (diff) | |
download | external_llvm-76a4e1a0682c8e855f8b7c0a05d802dce8c07d7a.zip external_llvm-76a4e1a0682c8e855f8b7c0a05d802dce8c07d7a.tar.gz external_llvm-76a4e1a0682c8e855f8b7c0a05d802dce8c07d7a.tar.bz2 |
Remove unnecessary addition to API. Replace with something much simpler.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143925 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 8acc857..633f216 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -165,14 +165,6 @@ MCSymbol *DwarfDebug::getStringPoolEntry(StringRef Str) { return Entry.first = Asm->GetTempSymbol("string", Entry.second); } -MCSymbol *DwarfDebug::getDwarfStrSectionSym(void) { - if (DwarfStrSectionSym) return DwarfStrSectionSym; - DwarfStrSectionSym = - EmitSectionSym(Asm, Asm->getObjFileLowering().getDwarfStrSection(), - "section_str"); - return DwarfStrSectionSym; -} - /// assignAbbrevNumber - Define a unique number for the abbreviation. /// void DwarfDebug::assignAbbrevNumber(DIEAbbrev &Abbrev) { |