aboutsummaryrefslogtreecommitdiff
path: root/lib/Bytecode
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Bytecode')
-rw-r--r--lib/Bytecode/Reader/Reader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bytecode/Reader/Reader.cpp b/lib/Bytecode/Reader/Reader.cpp
index 4a3a5c66d7..63d8b42c04 100644
--- a/lib/Bytecode/Reader/Reader.cpp
+++ b/lib/Bytecode/Reader/Reader.cpp
@@ -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");