about summary refs log tree commit diff homepage
path: root/lib/Core/ExternalDispatcher.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-06-05 05:46:00 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-06-05 05:46:00 +0000
commit4d1f38fb2671e565b7aaeb2dd0db79b16adc3349 (patch)
tree1c0d4e6d724650a827c16e2692b19bf643495e37 /lib/Core/ExternalDispatcher.cpp
parent601877c638420b1c32a0ea49a0ec43c952529bab (diff)
downloadklee-4d1f38fb2671e565b7aaeb2dd0db79b16adc3349.tar.gz
Remove some unnecessary uses of C++ exceptions.
 - PR4264.


git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@72922 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Core/ExternalDispatcher.cpp')
-rw-r--r--lib/Core/ExternalDispatcher.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/Core/ExternalDispatcher.cpp b/lib/Core/ExternalDispatcher.cpp
index 9e3b0a49..eb60dcff 100644
--- a/lib/Core/ExternalDispatcher.cpp
+++ b/lib/Core/ExternalDispatcher.cpp
@@ -80,11 +80,7 @@ ExternalDispatcher::ExternalDispatcher() {
   if (executionEngine) {
     // Make sure we can resolve symbols in the program as well. The zero arg
     // to the function tells DynamicLibrary to load the program, not a library.
-    try {
-      dl_symbols.LoadLibraryPermanently(0);
-    } catch (...) {
-      assert(0 && "Exception in LoadLibraryPermantently.\n");
-    }
+    dl_symbols.LoadLibraryPermanently(0);
   }
 
 #ifdef WINDOWS