32 AArch64WinCOFFObjectWriter(
const Triple &TheTriple)
37 ~AArch64WinCOFFObjectWriter()
override =
default;
48unsigned AArch64WinCOFFObjectWriter::getRelocType(
65 :
Target.getSymA()->getKind();
68 if (
const AArch64MCExpr *A64E = dyn_cast<AArch64MCExpr>(Expr)) {
77 A64E->getVariantKindName() +
78 " unsupported on COFF targets");
85 if (
const AArch64MCExpr *A64E = dyn_cast<AArch64MCExpr>(Expr)) {
87 A64E->getVariantKindName() +
88 " unsupported on COFF targets");
92 " unsupported on COFF targets");
120 if (
const AArch64MCExpr *A64E = dyn_cast<AArch64MCExpr>(Expr)) {
134 if (
const AArch64MCExpr *A64E = dyn_cast<AArch64MCExpr>(Expr)) {
159bool AArch64WinCOFFObjectWriter::recordRelocation(
const MCFixup &
Fixup)
const {
163std::unique_ptr<MCObjectTargetWriter>
165 return std::make_unique<AArch64WinCOFFObjectWriter>(TheTriple);
Analysis containing CSE Info
PowerPC TLS Dynamic Call Fixup
static VariantKind getSymbolLoc(VariantKind Kind)
Generic interface to target specific assembler backends.
virtual const MCFixupKindInfo & getFixupKindInfo(MCFixupKind Kind) const
Get information on a fixup kind.
Context object for machine code objects.
void reportError(SMLoc L, const Twine &Msg)
Base class for the full range of assembler expressions which are needed for parsing.
Encode information on a single operation to perform on a byte sequence (e.g., an encoded instruction)...
This represents an "assembler immediate".
virtual bool recordRelocation(const MCFixup &) const
virtual unsigned getRelocType(MCContext &Ctx, const MCValue &Target, const MCFixup &Fixup, bool IsCrossSection, const MCAsmBackend &MAB) const =0
Target - Wrapper for Target specific information.
Triple - Helper class for working with autoconf configuration names.
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
@ fixup_aarch64_ldst_imm12_scale4
@ fixup_aarch64_pcrel_call26
@ fixup_aarch64_pcrel_branch26
@ fixup_aarch64_pcrel_branch19
@ fixup_aarch64_pcrel_adr_imm21
@ fixup_aarch64_pcrel_branch14
@ fixup_aarch64_ldst_imm12_scale2
@ fixup_aarch64_ldst_imm12_scale16
@ fixup_aarch64_pcrel_adrp_imm21
@ fixup_aarch64_add_imm12
@ fixup_aarch64_ldst_imm12_scale8
@ fixup_aarch64_ldst_imm12_scale1
@ IMAGE_FILE_MACHINE_ARM64
@ IMAGE_FILE_MACHINE_ARM64EC
@ IMAGE_REL_ARM64_BRANCH19
@ IMAGE_REL_ARM64_SECREL_LOW12A
@ IMAGE_REL_ARM64_SECTION
@ IMAGE_REL_ARM64_SECREL_HIGH12A
@ IMAGE_REL_ARM64_ABSOLUTE
@ IMAGE_REL_ARM64_PAGEOFFSET_12A
@ IMAGE_REL_ARM64_BRANCH14
@ IMAGE_REL_ARM64_BRANCH26
@ IMAGE_REL_ARM64_PAGEOFFSET_12L
@ IMAGE_REL_ARM64_SECREL_LOW12L
@ IMAGE_REL_ARM64_ADDR32NB
@ IMAGE_REL_ARM64_PAGEBASE_REL21
This is an optimization pass for GlobalISel generic memory operations.
std::unique_ptr< MCObjectTargetWriter > createAArch64WinCOFFObjectWriter(const Triple &TheTriple)
@ FK_PCRel_4
A four-byte pc relative fixup.
@ 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.
Target independent information on a fixup kind.