LLVM API Documentation

Public Member Functions
llvm::DwarfStringPool Class Reference

#include <DwarfStringPool.h>

List of all members.

Public Member Functions

 DwarfStringPool (BumpPtrAllocator &A, AsmPrinter &Asm, StringRef Prefix)
void emit (AsmPrinter &Asm, const MCSection *StrSection, const MCSection *OffsetSection=nullptr)
MCSymbolgetSymbol (AsmPrinter &Asm, StringRef Str)
 Returns an entry into the string pool with the given string text.
unsigned getIndex (AsmPrinter &Asm, StringRef Str)
 Returns the index into the string pool with the given string text.
bool empty () const

Detailed Description

Definition at line 28 of file DwarfStringPool.h.


Constructor & Destructor Documentation

Definition at line 33 of file DwarfStringPool.h.


Member Function Documentation

void DwarfStringPool::emit ( AsmPrinter Asm,
const MCSection StrSection,
const MCSection OffsetSection = nullptr 
)
bool llvm::DwarfStringPool::empty ( ) const [inline]

Definition at line 47 of file DwarfStringPool.h.

References llvm::StringMapImpl::empty().

Returns the index into the string pool with the given string text.

Definition at line 32 of file DwarfStringPool.cpp.

References getEntry().

Referenced by llvm::DwarfUnit::addString().

Returns an entry into the string pool with the given string text.

Definition at line 28 of file DwarfStringPool.cpp.

References getEntry().

Referenced by llvm::DwarfDebug::addAccelName(), llvm::DwarfDebug::addAccelNamespace(), llvm::DwarfDebug::addAccelObjC(), llvm::DwarfDebug::addAccelType(), and llvm::DwarfUnit::addLocalString().


The documentation for this class was generated from the following files: