10 #ifndef LLVM_LIB_CODEGEN_ASMPRINTER_DWARFSTRINGPOOL_H
11 #define LLVM_LIB_CODEGEN_ASMPRINTER_DWARFSTRINGPOOL_H
32 unsigned NumBytes = 0;
33 bool ShouldCreateSymbols;
43 bool empty()
const {
return Pool.empty(); }
Instances of this class represent a uniqued identifier for a section in the current translation unit...
This file defines the MallocAllocator and BumpPtrAllocator interfaces.
String pool entry reference.
Data for a string pool entry.
Allocate memory in an ever growing pool, as if by bump-pointer.
This class is intended to be used as a driving class for all asm writers.
DwarfStringPoolEntryRef EntryRef
StringMap - This is an unconventional map that is specialized for handling keys that are "strings"...
EntryRef getEntry(AsmPrinter &Asm, StringRef Str)
Get a reference to an entry in the string pool.
void emit(AsmPrinter &Asm, MCSection *StrSection, MCSection *OffsetSection=nullptr)
StringRef - Represent a constant reference to a string, i.e.
DwarfStringPool(BumpPtrAllocator &A, AsmPrinter &Asm, StringRef Prefix)