10 #ifndef LLVM_LIB_OBJECT_RECORDSTREAMER_H
11 #define LLVM_LIB_OBJECT_RECORDSTREAMER_H
38 void visitUsedSymbol(
const MCSymbol &Sym)
override;
61 return SymverAliasMap;
67 if (
SI == Symbols.
end())
75 #endif // LLVM_LIB_OBJECT_RECORDSTREAMER_H
void emitELFSymverDirective(MCSymbol *Alias, const MCSymbol *Aliasee) override
Record .symver aliases for later processing.
Instances of this class represent a uniqued identifier for a section in the current translation unit...
void EmitZerofill(MCSection *Section, MCSymbol *Symbol, uint64_t Size, unsigned ByteAlignment) override
Emit the zerofill section and an optional symbol.
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
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.
iterator find(StringRef Key)
StringMap< State >::const_iterator const_iterator
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.
Streaming machine code generation interface.
RecordStreamer(MCContext &Context)
void EmitInstruction(const MCInst &Inst, const MCSubtargetInfo &STI, bool) override
Emit the given Instruction into the current section.
State getSymbolState(const MCSymbol *Sym)
Get the state recorded for the given symbol.
constexpr char Size[]
Key for Kernel::Arg::Metadata::mSize.
DenseMap< const MCSymbol *, std::vector< MCSymbol * > > & symverAliases()
Return the map of .symver aliasee to associated aliases.
StringRef getName() const
getName - Get the symbol name.
MCSubtargetInfo - 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.
Represents a location in source code.