26 X86WinCOFFObjectWriter(
bool Is64Bit);
27 ~X86WinCOFFObjectWriter()
override =
default;
30 const MCFixup &Fixup,
bool IsCrossSection,
36 X86WinCOFFObjectWriter::X86WinCOFFObjectWriter(
bool Is64Bit)
68 if (Modifier == MCSymbolRefExpr::VK_COFF_IMGREL32)
70 if (Modifier == MCSymbolRefExpr::VK_SECREL)
91 if (Modifier == MCSymbolRefExpr::VK_COFF_IMGREL32)
93 if (Modifier == MCSymbolRefExpr::VK_SECREL)
This represents an "assembler immediate".
Defines the object file and target independent interfaces used by the assembler backend to write nati...
Encode information on a single operation to perform on a byte sequence (e.g., an encoded instruction)...
MCObjectWriter * createX86WinCOFFObjectWriter(raw_pwrite_stream &OS, bool Is64Bit)
Construct an X86 Win COFF object writer.
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.
bool isAbsolute() const
Is this an absolute (as opposed to relocatable) value.
void reportError(SMLoc L, const Twine &Msg)
MCFixupKind getKind() const
PowerPC TLS Dynamic Call Fixup
const MCSymbolRefExpr * getSymA() const
A four-byte pc relative fixup.
Target - Wrapper for Target specific information.
llvm_unreachable("Unknown RegBank!")
An abstract base class for streams implementations that also support a pwrite operation.
VariantKind getKind() const
Generic interface to target specific assembler backends.
MCObjectWriter * createWinCOFFObjectWriter(MCWinCOFFObjectTargetWriter *MOTW, raw_pwrite_stream &OS)
Construct a new Win COFF writer instance.