9#ifndef LLVM_MC_MCXCOFFOBJECTWRITER_H
10#define LLVM_MC_MCXCOFFOBJECTWRITER_H
34 virtual std::pair<uint8_t, uint8_t>
36 bool IsPCRel)
const = 0;
48 unsigned LanguageCode,
unsigned ReasonCode,
49 unsigned FunctionSize,
bool hasDebug) = 0;
55std::unique_ptr<MCObjectWriter>
57 raw_pwrite_stream &OS);
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...
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
MCXCOFFObjectTargetWriter(bool Is64Bit)
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.
void setCPU(StringRef TargetCPU)
StringRef getCPUType() const
virtual void addExceptionEntry(const MCSymbol *Symbol, const MCSymbol *Trap, unsigned LanguageCode, unsigned ReasonCode, unsigned FunctionSize, bool hasDebug)=0
virtual void addCInfoSymEntry(StringRef Name, StringRef Metadata)=0
An abstract base class for streams implementations that also support a pwrite operation.
This is an optimization pass for GlobalISel generic memory operations.
std::unique_ptr< MCObjectWriter > createXCOFFObjectWriter(std::unique_ptr< MCXCOFFObjectTargetWriter > MOTW, raw_pwrite_stream &OS)