24 X86WinCOFFStreamer(
MCContext &
C, std::unique_ptr<MCAsmBackend> AB,
25 std::unique_ptr<MCCodeEmitter> CE,
26 std::unique_ptr<MCObjectWriter> OW)
37void X86WinCOFFStreamer::emitInstruction(
const MCInst &Inst,
42void X86WinCOFFStreamer::emitWinEHHandlerData(
SMLoc Loc) {
48 EHStreamer.EmitUnwindInfo(*
this, CurFrame,
true);
52 EHStreamer.EmitUnwindInfo(*
this, Frame,
false);
55void X86WinCOFFStreamer::emitWindowsUnwindTables() {
56 if (!getNumWinFrameInfos())
61void X86WinCOFFStreamer::emitCVFPOData(
const MCSymbol *ProcSym,
SMLoc Loc) {
67void X86WinCOFFStreamer::finishImpl() {
69 emitWindowsUnwindTables();
77 std::unique_ptr<MCObjectWriter> &&OW,
78 std::unique_ptr<MCCodeEmitter> &&CE) {
79 return new X86WinCOFFStreamer(
C, std::move(AB), std::move(CE), std::move(OW));
Emits exception handling directives.
Context object for machine code objects.
Instances of this class represent a single low-level machine instruction.
void emitInstruction(const MCInst &Inst, const MCSubtargetInfo &STI) override
Emit the given Instruction into the current section.
Streaming machine code generation interface.
virtual void emitWindowsUnwindTables()
virtual void emitWinEHHandlerData(SMLoc Loc=SMLoc())
virtual void emitCVFPOData(const MCSymbol *ProcSym, SMLoc Loc={})
This implements the CodeView '.cv_fpo_data' assembler directive.
Generic base class for all target subtargets.
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
void finishImpl() override
Streamer specific finalization.
void emitWinEHHandlerData(SMLoc Loc) override
Represents a location in source code.
X86 target streamer implementing x86-only assembly directives.
virtual bool emitFPOData(const MCSymbol *ProcSym, SMLoc L={})
@ C
The default llvm calling convention, compatible with C.
@ CE
Windows NT (Windows on ARM)
void emitInstruction(MCObjectStreamer &, const MCInst &Inst, const MCSubtargetInfo &STI)
This is an optimization pass for GlobalISel generic memory operations.
MCStreamer * createX86WinCOFFStreamer(MCContext &C, std::unique_ptr< MCAsmBackend > &&AB, std::unique_ptr< MCObjectWriter > &&OW, std::unique_ptr< MCCodeEmitter > &&CE)
Construct an X86 Windows COFF machine code streamer which will generate PE/COFF format object files.
OutputIt move(R &&Range, OutputIt Out)
Provide wrappers to std::move which take ranges instead of having to pass begin/end explicitly.
Implement std::hash so that hash_code can be used in STL containers.