[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp

LLVM llvm at cs.uiuc.edu
Wed Jul 7 16:03:02 PDT 2004


Changes in directory llvm/lib/ExecutionEngine:

ExecutionEngine.cpp updated: 1.52 -> 1.53

---
Log message:

Fix for bug 391: http://llvm.cs.uiuc.edu/PR391 . 
Improve exeception handling around bcreader invocations.


---
Diffs of the changes:  (+2 -0)

Index: llvm/lib/ExecutionEngine/ExecutionEngine.cpp
diff -u llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.52 llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.53
--- llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.52	Sun Jun 20 02:46:18 2004
+++ llvm/lib/ExecutionEngine/ExecutionEngine.cpp	Wed Jul  7 16:01:38 2004
@@ -137,6 +137,8 @@
       } 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";
     }





More information about the llvm-commits mailing list