mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-02 16:56:39 +00:00
Make error message a bit nicer.
Contributed by Reid Spencer git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12523 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e3651f00e8
commit
11cad517a1
@ -303,7 +303,7 @@ void BytecodeParser::ParseSymbolTable(const unsigned char *&Buf,
|
||||
V = getValue(Typ, slot, false); // Find mapping...
|
||||
}
|
||||
if (V == 0)
|
||||
throw std::string("Failed value look-up.");
|
||||
throw "Failed value look-up for name '" + Name + "'";
|
||||
BCR_TRACE(4, "Map: '" << Name << "' to #" << slot << ":" << *V;
|
||||
if (!isa<Instruction>(V)) std::cerr << "\n");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user