about summary refs log tree commit diff homepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2018-07-20 09:34:51 +0200
committerMartinNowack <martin.nowack@gmail.com>2018-09-14 09:59:29 +0100
commitf2dc3504340fef5361fc3668552e9c1b6b996fd6 (patch)
tree39a30f1a3187efaaa0c1d7397aab33956931d64a /CMakeLists.txt
parent44349e35e76ea3bb0429e61f0ddca2df1a979280 (diff)
downloadklee-f2dc3504340fef5361fc3668552e9c1b6b996fd6.tar.gz
llvm39: switch KLEE_RUNTIME_BUILD_TYPE to Debug+Asserts
So that we do not optimize the library during build. It should be
optimized only on runtime, depending on the -optimize parameter.

It could cause various failures like:
inlinable function call in a function with debug info must have a !dbg location
  call void @klee_overshift_check(i64 64, i64 %int_cast_to_i64)

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c34b8786..961ab19d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -520,7 +520,7 @@ set(available_klee_runtime_build_types
 if (NOT KLEE_RUNTIME_BUILD_TYPE)
   message(STATUS "KLEE_RUNTIME_BUILD_TYPE is not set. Setting default")
   message(STATUS "The available runtime build types are: ${available_klee_runtime_build_types}")
-  set(KLEE_RUNTIME_BUILD_TYPE "Release+Debug+Asserts" CACHE String
+  set(KLEE_RUNTIME_BUILD_TYPE "Debug+Asserts" CACHE String
     "Options are ${available_klee_runtime_build_types}"
     FORCE)
 endif()