#ifndef LLVM_MC_MCXCOFFOBJECTWRITER_H
#define LLVM_MC_MCXCOFFOBJECTWRITER_H
#include "llvm/MC/MCObjectWriter.h"
namespace llvm {
class raw_pwrite_stream;
class MCXCOFFObjectTargetWriter : public MCObjectTargetWriter { … };
std::unique_ptr<MCObjectWriter>
createXCOFFObjectWriter(std::unique_ptr<MCXCOFFObjectTargetWriter> MOTW,
raw_pwrite_stream &OS);
namespace XCOFF {
void addExceptionEntry(MCObjectWriter &Writer, const MCSymbol *Symbol,
const MCSymbol *Trap, unsigned LanguageCode,
unsigned ReasonCode, unsigned FunctionSize,
bool hasDebug);
void addCInfoSymEntry(MCObjectWriter &Writer, StringRef Name,
StringRef Metadata);
}
}
#endif