10 #ifndef LLVM_MC_MCWINCOFFOBJECTWRITER_H 11 #define LLVM_MC_MCWINCOFFOBJECTWRITER_H 22 class raw_pwrite_stream;
25 virtual void anchor();
27 const unsigned Machine;
52 std::unique_ptr<MCObjectWriter>
57 #endif // LLVM_MC_MCWINCOFFOBJECTWRITER_H unsigned getMachine() const
This class represents lattice values for constants.
This represents an "assembler immediate".
Encode information on a single operation to perform on a byte sequence (e.g., an encoded instruction)...
virtual unsigned getRelocType(MCContext &Ctx, const MCValue &Target, const MCFixup &Fixup, bool IsCrossSection, const MCAsmBackend &MAB) const =0
virtual Triple::ObjectFormatType getFormat() const =0
Context object for machine code objects.
virtual ~MCWinCOFFObjectTargetWriter()=default
MCWinCOFFObjectTargetWriter(unsigned Machine_)
virtual bool recordRelocation(const MCFixup &) const
std::unique_ptr< MCObjectWriter > createWinCOFFObjectWriter(std::unique_ptr< MCWinCOFFObjectTargetWriter > MOTW, raw_pwrite_stream &OS)
Construct a new Win COFF writer instance.
PowerPC TLS Dynamic Call Fixup
virtual Triple::ObjectFormatType getFormat() const
Target - Wrapper for Target specific information.
Base class for classes that define behaviour that is specific to both the target and the object forma...
An abstract base class for streams implementations that also support a pwrite operation.
Generic interface to target specific assembler backends.
static bool classof(const MCObjectTargetWriter *W)