mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-15 12:39:19 +00:00
[WebAssembly] Make an assertion message prettier. NFC.
This is a follow-up to https://reviews.llvm.org/D59521. llvm-svn: 359509
This commit is contained in:
parent
6c9f6fd11b
commit
8d6e80f959
@ -842,8 +842,8 @@ void llvm::getLibcallSignature(const WebAssemblySubtarget &Subtarget,
|
||||
auto Val = Map.find(Name);
|
||||
#ifndef NDEBUG
|
||||
if (Val == Map.end()) {
|
||||
errs() << "runtime library name: " << Name << "\n";
|
||||
llvm_unreachable("unexpected runtime library name");
|
||||
auto message = std::string("unexpected runtime library name: ") + Name;
|
||||
llvm_unreachable(message.c_str());
|
||||
}
|
||||
#endif
|
||||
return getLibcallSignature(Subtarget, Val->second, Rets, Params);
|
||||
|
Loading…
x
Reference in New Issue
Block a user