31 AArch64WinCOFFObjectWriter()
34 ~AArch64WinCOFFObjectWriter()
override =
default;
37 const MCFixup &Fixup,
bool IsCrossSection,
40 bool recordRelocation(
const MCFixup &)
const override;
52 switch (static_cast<unsigned>(Fixup.
getKind())) {
78 if (
const AArch64MCExpr *A64E = dyn_cast<AArch64MCExpr>(Expr)) {
92 if (
const AArch64MCExpr *A64E = dyn_cast<AArch64MCExpr>(Expr)) {
117 bool AArch64WinCOFFObjectWriter::recordRelocation(
const MCFixup &Fixup)
const {
124 return llvm::make_unique<AArch64WinCOFFObjectWriter>();
LLVM_ATTRIBUTE_NORETURN void report_fatal_error(Error Err, bool gen_crash_diag=true)
Report a serious error, calling any installed error handler.
This class represents lattice values for constants.
This represents an "assembler immediate".
VariantKind getKind() const
virtual const MCFixupKindInfo & getFixupKindInfo(MCFixupKind Kind) const
Get information on a fixup kind.
bool isAbsolute() const
Is this an absolute (as opposed to relocatable) value.
Encode information on a single operation to perform on a byte sequence (e.g., an encoded instruction)...
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
Base class for the full range of assembler expressions which are needed for parsing.
const char * Name
A target specific name for the fixup kind.
static unsigned getRelocType(const MCValue &Target, const MCFixupKind FixupKind, const bool IsPCRel)
Translates generic PPC fixup kind to Mach-O/PPC relocation type enum.
A four-byte section relative fixup.
Context object for machine code objects.
A two-byte section relative fixup.
Analysis containing CSE Info
const MCSymbolRefExpr * getSymA() const
Target - Wrapper for Target specific information.
std::unique_ptr< MCObjectTargetWriter > createAArch64WinCOFFObjectWriter()
Target independent information on a fixup kind.
Generic interface to target specific assembler backends.
const MCExpr * getValue() const
MCFixupKind getKind() const