9#ifndef LLVM_MC_MCXCOFFOBJECTWRITER_H
10#define LLVM_MC_MCXCOFFOBJECTWRITER_H
16class raw_pwrite_stream;
34 virtual std::pair<uint8_t, uint8_t>
36 bool IsPCRel)
const = 0;
42std::unique_ptr<MCObjectWriter>
49 unsigned ReasonCode,
unsigned FunctionSize,
PowerPC TLS Dynamic Call Fixup
Encode information on a single operation to perform on a byte sequence (e.g., an encoded instruction)...
Base class for classes that define behaviour that is specific to both the target and the object forma...
Defines the object file and target independent interfaces used by the assembler backend to write nati...
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
This represents an "assembler immediate".
static bool classof(const MCObjectTargetWriter *W)
virtual std::pair< uint8_t, uint8_t > getRelocTypeAndSignSize(const MCValue &Target, const MCFixup &Fixup, bool IsPCRel) const =0
Triple::ObjectFormatType getFormat() const override
~MCXCOFFObjectTargetWriter() override
StringRef - Represent a constant reference to a string, i.e.
Target - Wrapper for Target specific information.
An abstract base class for streams implementations that also support a pwrite operation.
void addCInfoSymEntry(MCObjectWriter &Writer, StringRef Name, StringRef Metadata)
void addExceptionEntry(MCObjectWriter &Writer, const MCSymbol *Symbol, const MCSymbol *Trap, unsigned LanguageCode, unsigned ReasonCode, unsigned FunctionSize, bool hasDebug)
This is an optimization pass for GlobalISel generic memory operations.
std::unique_ptr< MCObjectWriter > createXCOFFObjectWriter(std::unique_ptr< MCXCOFFObjectTargetWriter > MOTW, raw_pwrite_stream &OS)