10 #ifndef LLVM_LIB_OBJECT_RECORDSTREAMER_H 11 #define LLVM_LIB_OBJECT_RECORDSTREAMER_H 45 void visitUsedSymbol(
const MCSymbol &Sym)
override;
58 unsigned ByteAlignment)
override;
79 #endif // LLVM_LIB_OBJECT_RECORDSTREAMER_H Instances of this class represent a uniqued identifier for a section in the current translation unit...
This class represents lattice values for constants.
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
A Module instance is used to store all the information related to an LLVM module. ...
void emitELFSymverDirective(StringRef AliasName, const MCSymbol *Aliasee) override
Record .symver aliases for later processing.
bool EmitSymbolAttribute(MCSymbol *Symbol, MCSymbolAttr Attribute) override
Add the given Attribute to Symbol.
void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) override
Emit an assignment of Value to Symbol.
StringMap< State >::const_iterator const_iterator
void flushSymverDirectives()
Base class for the full range of assembler expressions which are needed for parsing.
Context object for machine code objects.
Instances of this class represent a single low-level machine instruction.
decltype(SymverAliasMap)::const_iterator const_symver_iterator
Streaming machine code generation interface.
void EmitInstruction(const MCInst &Inst, const MCSubtargetInfo &STI, bool) override
Emit the given Instruction into the current section.
A range adaptor for a pair of iterators.
void EmitZerofill(MCSection *Section, MCSymbol *Symbol, uint64_t Size, unsigned ByteAlignment, SMLoc Loc=SMLoc()) override
Emit the zerofill section and an optional symbol.
Generic base class for all target subtargets.
void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size, unsigned ByteAlignment) override
Emit a common symbol.
void EmitLabel(MCSymbol *Symbol, SMLoc Loc=SMLoc()) override
Emit a label for Symbol into the current section.
LLVM Value Representation.
iterator_range< const_symver_iterator > symverAliases()
StringRef - Represent a constant reference to a string, i.e.
Represents a location in source code.
RecordStreamer(MCContext &Context, const Module &M)