forked from OSchip/llvm-project
Make error message consistent with the rest of LLVM by saying that bytecode
is read, not parsed. llvm-svn: 14677
This commit is contained in:
parent
37e0ba969a
commit
1a4152fa2c
|
@ -118,10 +118,10 @@ void *JIT::getPointerToFunction(Function *F) {
|
|||
try {
|
||||
MP->materializeFunction(F);
|
||||
} catch ( std::string& errmsg ) {
|
||||
std::cerr << "Error parsing bytecode file: " << errmsg << "\n";
|
||||
std::cerr << "Error reading bytecode file: " << errmsg << "\n";
|
||||
abort();
|
||||
} catch (...) {
|
||||
std::cerr << "Error parsing bytecode file!\n";
|
||||
std::cerr << "Error reading bytecode file!\n";
|
||||
abort();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue