24 X86WinCOFFStreamer(
MCContext &
C, std::unique_ptr<MCAsmBackend> AB,
25 std::unique_ptr<MCCodeEmitter> CE,
26 std::unique_ptr<MCObjectWriter> OW)
36void X86WinCOFFStreamer::emitWinEHHandlerData(
SMLoc Loc) {
42 EHStreamer.EmitUnwindInfo(*
this, CurFrame,
true);
46 EHStreamer.EmitUnwindInfo(*
this, Frame,
false);
49void X86WinCOFFStreamer::emitWindowsUnwindTables() {
50 if (!getNumWinFrameInfos())
55void X86WinCOFFStreamer::emitCVFPOData(
const MCSymbol *ProcSym,
SMLoc Loc) {
61void X86WinCOFFStreamer::finishImpl() {
63 emitWindowsUnwindTables();
70 std::unique_ptr<MCAsmBackend> &&AB,
71 std::unique_ptr<MCObjectWriter> &&OW,
72 std::unique_ptr<MCCodeEmitter> &&CE,
74 bool IncrementalLinkerCompatible) {
75 X86WinCOFFStreamer *S =
76 new X86WinCOFFStreamer(
C, std::move(AB), std::move(CE), std::move(OW));
77 S->getAssembler().setRelaxAll(RelaxAll);
78 S->getAssembler().setIncrementalLinkerCompatible(IncrementalLinkerCompatible);
Emits exception handling directives.
Context object for machine code objects.
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.
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)
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, bool RelaxAll, bool IncrementalLinkerCompatible)
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.