|
LLVM
4.0.0
|
#include <DwarfStringPool.h>
Public Types | |
| typedef DwarfStringPoolEntryRef | EntryRef |
Public Member Functions | |
| DwarfStringPool (BumpPtrAllocator &A, AsmPrinter &Asm, StringRef Prefix) | |
| void | emit (AsmPrinter &Asm, MCSection *StrSection, MCSection *OffsetSection=nullptr) |
| bool | empty () const |
| EntryRef | getEntry (AsmPrinter &Asm, StringRef Str) |
| Get a reference to an entry in the string pool. More... | |
Definition at line 28 of file DwarfStringPool.h.
Definition at line 36 of file DwarfStringPool.h.
| DwarfStringPool::DwarfStringPool | ( | BumpPtrAllocator & | A, |
| AsmPrinter & | Asm, | ||
| StringRef | Prefix | ||
| ) |
Definition at line 17 of file DwarfStringPool.cpp.
| void DwarfStringPool::emit | ( | AsmPrinter & | Asm, |
| MCSection * | StrSection, | ||
| MCSection * | OffsetSection = nullptr |
||
| ) |
Definition at line 37 of file DwarfStringPool.cpp.
References assert(), E, and llvm::AsmPrinter::OutStreamer.
Referenced by llvm::DwarfFile::emitStrings().
|
inline |
Definition at line 43 of file DwarfStringPool.h.
| DwarfStringPool::EntryRef DwarfStringPool::getEntry | ( | AsmPrinter & | Asm, |
| StringRef | Str | ||
| ) |
Get a reference to an entry in the string pool.
Definition at line 22 of file DwarfStringPool.cpp.
References assert(), llvm::AsmPrinter::createTempSymbol(), I, and llvm::StringRef::size().
Referenced by llvm::DwarfDebug::addAccelName(), llvm::DwarfDebug::addAccelNamespace(), llvm::DwarfDebug::addAccelObjC(), llvm::DwarfDebug::addAccelType(), and llvm::DwarfUnit::addString().
1.8.6