From f2dc3504340fef5361fc3668552e9c1b6b996fd6 Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Fri, 20 Jul 2018 09:34:51 +0200 Subject: 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 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit 1.4.1