#include "llvm/MC/MCDXContainerWriter.h"
#include "llvm/BinaryFormat/DXContainer.h"
#include "llvm/MC/MCAssembler.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCSection.h"
#include "llvm/MC/MCValue.h"
#include "llvm/Support/Alignment.h"
#include "llvm/Support/EndianStream.h"
usingnamespacellvm;
MCDXContainerTargetWriter::~MCDXContainerTargetWriter() { … }
namespace {
class DXContainerObjectWriter : public MCObjectWriter { … };
}
uint64_t DXContainerObjectWriter::writeObject(MCAssembler &Asm) { … }
std::unique_ptr<MCObjectWriter> llvm::createDXContainerObjectWriter(
std::unique_ptr<MCDXContainerTargetWriter> MOTW, raw_pwrite_stream &OS) { … }