Replace with report_fatal_error.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311276
91177308-0d34-0410-b5e6-
96231b3b80d8
void relaxInstruction(const MCInst &Inst, const MCSubtargetInfo &STI,
MCInst &Res) const override {
- llvm_unreachable("RISCVAsmBackend::relaxInstruction() unimplemented");
+ report_fatal_error("RISCVAsmBackend::relaxInstruction() unimplemented");
}
bool writeNopData(uint64_t Count, MCObjectWriter *OW) const override;
const MCValue &Target,
const MCFixup &Fixup,
bool IsPCRel) const {
- llvm_unreachable("invalid fixup kind!");
+ report_fatal_error("invalid fixup kind!");
}
MCObjectWriter *llvm::createRISCVELFObjectWriter(raw_pwrite_stream &OS,