diff options
author | Chris Lattner <sabre@nondot.org> | 2004-03-29 00:16:01 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-03-29 00:16:01 +0000 |
commit | 11cad517a1747d8c426612a8f241dcfe277b148a (patch) | |
tree | 7cda0be8591cdd6b5a54119f487d1e161834d81c /lib | |
parent | e3651f00e887fe2400d6c344547577110e14777e (diff) | |
download | external_llvm-11cad517a1747d8c426612a8f241dcfe277b148a.zip external_llvm-11cad517a1747d8c426612a8f241dcfe277b148a.tar.gz external_llvm-11cad517a1747d8c426612a8f241dcfe277b148a.tar.bz2 |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Bytecode/Reader/Reader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bytecode/Reader/Reader.cpp b/lib/Bytecode/Reader/Reader.cpp index 4a3a5c6..63d8b42 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"); |