Go to the documentation of this file.
33 AArch64WinCOFFObjectWriter()
36 ~AArch64WinCOFFObjectWriter()
override =
default;
39 const MCFixup &Fixup,
bool IsCrossSection,
42 bool recordRelocation(
const MCFixup &)
const override;
47 unsigned AArch64WinCOFFObjectWriter::getRelocType(
64 :
Target.getSymA()->getKind();
67 if (
const AArch64MCExpr *A64E = dyn_cast<AArch64MCExpr>(Expr)) {
76 A64E->getVariantKindName() +
77 " unsupported on COFF targets");
84 if (
const AArch64MCExpr *A64E = dyn_cast<AArch64MCExpr>(Expr)) {
86 A64E->getVariantKindName() +
87 " unsupported on COFF targets");
91 " unsupported on COFF targets");
119 if (
const AArch64MCExpr *A64E = dyn_cast<AArch64MCExpr>(Expr)) {
133 if (
const AArch64MCExpr *A64E = dyn_cast<AArch64MCExpr>(Expr)) {
158 bool AArch64WinCOFFObjectWriter::recordRelocation(
const MCFixup &Fixup)
const {
163 return std::make_unique<AArch64WinCOFFObjectWriter>();
This is an optimization pass for GlobalISel generic memory operations.
@ IMAGE_REL_ARM64_ADDR32NB
static Lanai::Fixups FixupKind(const MCExpr *Expr)
virtual const MCFixupKindInfo & getFixupKindInfo(MCFixupKind Kind) const
Get information on a fixup kind.
@ IMAGE_REL_ARM64_PAGEBASE_REL21
Context object for machine code objects.
@ fixup_aarch64_pcrel_branch26
@ fixup_aarch64_add_imm12
Target - Wrapper for Target specific information.
@ IMAGE_REL_ARM64_PAGEOFFSET_12L
@ fixup_aarch64_ldst_imm12_scale2
@ IMAGE_REL_ARM64_SECREL_HIGH12A
std::unique_ptr< MCObjectTargetWriter > createAArch64WinCOFFObjectWriter()
@ IMAGE_REL_ARM64_BRANCH26
@ IMAGE_REL_ARM64_ABSOLUTE
@ IMAGE_REL_ARM64_SECREL_LOW12A
@ FK_Data_4
A four-byte fixup.
Generic interface to target specific assembler backends.
@ FK_SecRel_4
A four-byte section relative fixup.
@ FK_SecRel_2
A two-byte section relative fixup.
@ fixup_aarch64_pcrel_branch19
Analysis containing CSE Info
@ fixup_aarch64_ldst_imm12_scale8
@ IMAGE_REL_ARM64_SECREL_LOW12L
@ fixup_aarch64_ldst_imm12_scale4
@ fixup_aarch64_pcrel_call26
Target independent information on a fixup kind.
void reportError(SMLoc L, const Twine &Msg)
@ FK_PCRel_4
A four-byte pc relative fixup.
@ fixup_aarch64_ldst_imm12_scale1
PowerPC TLS Dynamic Call Fixup
@ IMAGE_REL_ARM64_PAGEOFFSET_12A
@ IMAGE_FILE_MACHINE_ARM64
@ fixup_aarch64_pcrel_branch14
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
@ fixup_aarch64_ldst_imm12_scale16
@ IMAGE_REL_ARM64_BRANCH14
@ FK_Data_8
A eight-byte fixup.
@ IMAGE_REL_ARM64_BRANCH19
@ fixup_aarch64_pcrel_adrp_imm21
This represents an "assembler immediate".
static VariantKind getSymbolLoc(VariantKind Kind)
Encode information on a single operation to perform on a byte sequence (e.g., an encoded instruction)...
Base class for the full range of assembler expressions which are needed for parsing.
@ fixup_aarch64_pcrel_adr_imm21
@ IMAGE_REL_ARM64_SECTION