22 Pool.insert(std::make_pair(Sym, AddressPoolEntry(Pool.size(),
TLS)));
23 return IterBool.first->second.Number;
37 for (
const auto &
I : Pool)
38 Entries[
I.second.Number] =
43 for (
const MCExpr *Entry : Entries)
Instances of this class represent a uniqued identifier for a section in the current translation unit...
std::unique_ptr< MCStreamer > OutStreamer
This is the MCStreamer object for the file we are generating.
static const MCSymbolRefExpr * create(const MCSymbol *Symbol, MCContext &Ctx)
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
const DataLayout & getDataLayout() const
Return information about data layout.
MCContext & OutContext
This is the context for the output file that we are streaming.
Base class for the full range of assembler expressions which are needed for parsing.
virtual const MCExpr * getDebugThreadLocalSymbol(const MCSymbol *Sym) const
Create a symbol reference to describe the given TLS variable when emitting the address in debug info...
void emit(AsmPrinter &Asm, MCSection *AddrSection)
This class is intended to be used as a driving class for all asm writers.
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small...
const TargetLoweringObjectFile & getObjFileLowering() const
Return information about object file lowering.
unsigned getPointerSize(unsigned AS=0) const
Layout pointer size FIXME: The defaults need to be removed once all of the backends/clients are updat...
unsigned getIndex(const MCSymbol *Sym, bool TLS=false)
Returns the index into the address pool with the given label/symbol.