mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 00:20:25 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user