9#ifndef LLVM_MC_MCWASMOBJECTWRITER_H
10#define LLVM_MC_MCWASMOBJECTWRITER_H
20class raw_pwrite_stream;
23 const unsigned Is64Bit : 1;
24 const unsigned IsEmscripten : 1;
39 bool IsLocRel)
const = 0;
53std::unique_ptr<MCObjectWriter>
55 raw_pwrite_stream &
OS);
57std::unique_ptr<MCObjectWriter>
59 raw_pwrite_stream &
OS, raw_pwrite_stream &DwoOS);
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...
This represents a section on wasm.
This represents an "assembler immediate".
static bool classof(const MCObjectTargetWriter *W)
Triple::ObjectFormatType getFormat() const override
virtual ~MCWasmObjectTargetWriter()
bool isEmscripten() const
virtual unsigned getRelocType(const MCValue &Target, const MCFixup &Fixup, const MCSectionWasm &FixupSection, bool IsLocRel) const =0
Target - Wrapper for Target specific information.
This is an optimization pass for GlobalISel generic memory operations.
std::unique_ptr< MCObjectWriter > createWasmObjectWriter(std::unique_ptr< MCWasmObjectTargetWriter > MOTW, raw_pwrite_stream &OS)
Construct a new Wasm writer instance.
std::unique_ptr< MCObjectWriter > createWasmDwoObjectWriter(std::unique_ptr< MCWasmObjectTargetWriter > MOTW, raw_pwrite_stream &OS, raw_pwrite_stream &DwoOS)