mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
Fix for bug 391.
Improve exeception handling around bcreader invocations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14674 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -137,6 +137,8 @@ ExecutionEngine *ExecutionEngine::create(ModuleProvider *MP,
|
||||
} catch (...) {
|
||||
std::cerr << "Error creating the interpreter!\n";
|
||||
}
|
||||
} catch (std::string& errmsg) {
|
||||
std::cerr << "Error reading the bytecode file: " << errmsg << "\n";
|
||||
} catch (...) {
|
||||
std::cerr << "Error reading the bytecode file!\n";
|
||||
}
|
||||
|
Reference in New Issue
Block a user