about summary refs log tree commit diff homepage
path: root/tools
diff options
context:
space:
mode:
authorJulian Büning <julian.buening@comsys.rwth-aachen.de>2020-12-17 14:17:29 +0100
committerCristian Cadar <c.cadar@imperial.ac.uk>2021-02-16 18:37:16 +0000
commit5f08b024bef12c3312d1e75f2c2ec5e5f5e0361f (patch)
treef3398bb7f5fc5fdcc3b35f0947399219a481cf5f /tools
parentdbe3e458d3e25fb092a5468a8fe551a6e7486aed (diff)
downloadklee-5f08b024bef12c3312d1e75f2c2ec5e5f5e0361f.tar.gz
add ifdefs for C++ exception handling
restoring old behavior without EH support
Diffstat (limited to 'tools')
-rw-r--r--tools/klee/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/klee/main.cpp b/tools/klee/main.cpp
index 7690d3c7..1bcdedbb 100644
--- a/tools/klee/main.cpp
+++ b/tools/klee/main.cpp
@@ -782,8 +782,10 @@ static const char *modelledExternals[] = {
   "klee_warning",
   "klee_warning_once",
   "klee_stack_trace",
+#ifdef SUPPORT_KLEE_EH_CXX
   "_klee_eh_Unwind_RaiseException_impl",
   "klee_eh_typeid_for",
+#endif
   "llvm.dbg.declare",
   "llvm.dbg.value",
   "llvm.va_start",