27 X86WinCOFFObjectWriter(
bool Is64Bit);
28 ~X86WinCOFFObjectWriter()
override =
default;
30 unsigned getRelocType(MCContext &Ctx,
const MCValue &Target,
31 const MCFixup &
Fixup,
bool IsCrossSection,
32 const MCAsmBackend &MAB)
const override;
37X86WinCOFFObjectWriter::X86WinCOFFObjectWriter(
bool Is64Bit)
41unsigned X86WinCOFFObjectWriter::getRelocType(
MCContext &Ctx,
48 bool PCRel =
Fixup.isPCRel();
65 auto Spec =
Target.getSpecifier();
126std::unique_ptr<MCObjectTargetWriter>
128 return std::make_unique<X86WinCOFFObjectWriter>(Is64Bit);
PowerPC TLS Dynamic Call Fixup
Generic interface to target specific assembler backends.
Context object for machine code objects.
LLVM_ABI void reportError(SMLoc L, const Twine &Msg)
Encode information on a single operation to perform on a byte sequence (e.g., an encoded instruction)...
Target - Wrapper for Target specific information.
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
@ IMAGE_FILE_MACHINE_AMD64
@ IMAGE_FILE_MACHINE_I386
@ IMAGE_REL_AMD64_ADDR32NB
@ IMAGE_REL_AMD64_SECTION
@ reloc_riprel_4byte_movq_load_rex2
@ reloc_signed_4byte_relax
@ reloc_branch_4byte_pcrel
@ reloc_riprel_4byte_relax
@ reloc_riprel_4byte_relax_evex
@ reloc_riprel_4byte_relax_rex
@ reloc_riprel_4byte_movq_load
@ reloc_riprel_4byte_relax_rex2
This is an optimization pass for GlobalISel generic memory operations.
std::unique_ptr< MCObjectTargetWriter > createX86WinCOFFObjectWriter(bool Is64Bit)
Construct an X86 Win COFF object writer.
static Lanai::Fixups FixupKind(const MCExpr *Expr)
@ FK_SecRel_2
A two-byte section relative fixup.
@ FK_Data_8
A eight-byte fixup.
@ FK_Data_4
A four-byte fixup.
@ FK_SecRel_4
A four-byte section relative fixup.