LLVM  4.0.0
Public Types | Public Member Functions | List of all members
llvm::DwarfStringPool Class Reference

#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...
 

Detailed Description

Definition at line 28 of file DwarfStringPool.h.

Member Typedef Documentation

Definition at line 36 of file DwarfStringPool.h.

Constructor & Destructor Documentation

DwarfStringPool::DwarfStringPool ( BumpPtrAllocator A,
AsmPrinter Asm,
StringRef  Prefix 
)

Definition at line 17 of file DwarfStringPool.cpp.

Member Function Documentation

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().

bool llvm::DwarfStringPool::empty ( ) const
inline

Definition at line 43 of file DwarfStringPool.h.

DwarfStringPool::EntryRef DwarfStringPool::getEntry ( AsmPrinter Asm,
StringRef  Str 
)

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