9 #ifndef LLVM_LIB_OBJECT_RECORDSTREAMER_H 10 #define LLVM_LIB_OBJECT_RECORDSTREAMER_H 44 void visitUsedSymbol(
const MCSymbol &Sym)
override;
56 unsigned ByteAlignment)
override;
86 #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.
void BeginCOFFSymbolDef(const MCSymbol *Symbol) override
Start emitting COFF symbol definition.
StringMap< State >::const_iterator const_iterator
COFF::SymbolStorageClass StorageClass
void EmitCOFFSymbolStorageClass(int StorageClass) override
Emit the storage class of the symbol.
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.
The instances of the Type class are immutable: once they are created, they are never changed...
void EmitInstruction(const MCInst &Inst, const MCSubtargetInfo &STI) override
Emit the given Instruction into the current section.
void EmitCOFFSymbolType(int Type) override
Emit the type of the symbol.
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()
void EndCOFFSymbolDef() override
Marks the end of the symbol definition.
StringRef - Represent a constant reference to a string, i.e.
Represents a location in source code.
RecordStreamer(MCContext &Context, const Module &M)