diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-10-27 06:44:11 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-10-27 06:44:11 +0000 |
commit | 390c40d96adb2eb4a778a0890c6c8743057e289e (patch) | |
tree | 52c7f67719a8fa5a8d51f6217c87bf2659a468e0 /lib/CodeGen/AsmPrinter/DwarfDebug.h | |
parent | fd58cd75630b1a2ace727d6caaee8c9308ba0240 (diff) |
Teach our Dwarf emission to use the string pool.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143097 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h index b98ace2b0f..b280fbb930 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -216,8 +216,6 @@ class DwarfDebug { StringMap<std::pair<MCSymbol*, unsigned> > StringPool; unsigned NextStringPoolNumber; - MCSymbol *getStringPoolEntry(StringRef Str); - /// SectionMap - Provides a unique id per text section. /// UniqueVector<const MCSection*> SectionMap; @@ -504,6 +502,13 @@ public: /// createSubprogramDIE - Create new DIE using SP. DIE *createSubprogramDIE(DISubprogram SP); + + /// getStringPool - returns the entry into the start of the pool. + MCSymbol *getStringPool(); + + /// getStringPoolEntry - returns an entry into the string pool with the given + /// string text. + MCSymbol *getStringPoolEntry(StringRef Str); }; } // End of namespace llvm |