Go to the documentation of this file.
9 #ifndef LLVM_MC_MCXCOFFSTREAMER_H
10 #define LLVM_MC_MCXCOFFSTREAMER_H
19 std::unique_ptr<MCObjectWriter> OW,
20 std::unique_ptr<MCCodeEmitter> Emitter);
31 unsigned ByteAlign)
override;
42 "object generation path");
48 #endif // LLVM_MC_MCXCOFFSTREAMER_H
This is an optimization pass for GlobalISel generic memory operations.
void emitXCOFFSymbolLinkageWithVisibility(MCSymbol *Symbol, MCSymbolAttr Linkage, MCSymbolAttr Visibility) override
Emit a symbol's linkage and visibility with a linkage directive for XCOFF.
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
Context object for machine code objects.
void emitCommonSymbol(MCSymbol *Symbol, uint64_t Size, unsigned ByteAlignment) override
Emit a common symbol.
bool emitSymbolAttribute(MCSymbol *Symbol, MCSymbolAttr Attribute) override
Add the given Attribute to Symbol.
Instances of this class represent a single low-level machine instruction.
void emitXCOFFRenameDirective(const MCSymbol *Name, StringRef Rename) override
Emit a XCOFF .rename directive which creates a synonym for an illegal or undesirable name.
void emitZerofill(MCSection *Section, MCSymbol *Symbol=nullptr, uint64_t Size=0, unsigned ByteAlignment=0, SMLoc Loc=SMLoc()) override
Emit the zerofill section and an optional symbol.
Represents a location in source code.
Streaming object file generation interface.
void report_fatal_error(Error Err, bool gen_crash_diag=true)
Report a serious error, calling any installed error handler.
MCXCOFFStreamer(MCContext &Context, std::unique_ptr< MCAsmBackend > MAB, std::unique_ptr< MCObjectWriter > OW, std::unique_ptr< MCCodeEmitter > Emitter)
void emitXCOFFRefDirective(StringRef Name) override
Emit a XCOFF .ref directive which creates R_REF type entry in the relocation table for one or more sy...
void emitXCOFFLocalCommonSymbol(MCSymbol *LabelSym, uint64_t Size, MCSymbol *CsectSym, unsigned ByteAlign) override
Emits an lcomm directive with XCOFF csect information.
void emitInstToData(const MCInst &Inst, const MCSubtargetInfo &) override
StringRef - Represent a constant reference to a string, i.e.
Instances of this class represent a uniqued identifier for a section in the current translation unit.
Generic base class for all target subtargets.