9 #ifndef LLVM_LIB_CODEGEN_ASMPRINTER_DWARFSTRINGPOOL_H 10 #define LLVM_LIB_CODEGEN_ASMPRINTER_DWARFSTRINGPOOL_H 31 uint64_t NumBytes = 0;
32 unsigned NumIndexedStrings = 0;
33 bool ShouldCreateSymbols;
47 bool UseRelativeOffsets =
false);
66 #endif // LLVM_LIB_CODEGEN_ASMPRINTER_DWARFSTRINGPOOL_H Instances of this class represent a uniqued identifier for a section in the current translation unit.
This class represents lattice values for constants.
StringMapEntry - This is used to represent one value that is inserted into a StringMap.
unsigned getNumIndexedStrings() const
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
void emit(AsmPrinter &Asm, MCSection *StrSection, MCSection *OffsetSection=nullptr, bool UseRelativeOffsets=false)
This file defines the BumpPtrAllocator interface.
EntryRef getIndexedEntry(AsmPrinter &Asm, StringRef Str)
Same as getEntry, except that you can use EntryRef::getIndex to obtain a unique ID of this entry (e....
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.
StringMap - This is an unconventional map that is specialized for handling keys that are "strings",...
DwarfStringPoolEntryRef EntryRef
String pool entry reference.
void emitStringOffsetsTableHeader(AsmPrinter &Asm, MCSection *OffsetSection, MCSymbol *StartSym)
EntryRef getEntry(AsmPrinter &Asm, StringRef Str)
Get a reference to an entry in the string pool.
StringRef - Represent a constant reference to a string, i.e.
DwarfStringPool(BumpPtrAllocator &A, AsmPrinter &Asm, StringRef Prefix)