From ae6da669e546d2ac0881da2c898c01f28b7ed7e2 Mon Sep 17 00:00:00 2001 From: Martin Nowack Date: Wed, 13 Mar 2019 13:28:48 +0000 Subject: Fix libc++ testcases * remove wrapper script invocation and script * add build instruction to test cases * added additional checks * add check to avoid execution of tests if KLEE is not compiled with libc++ --- tools/klee/main.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'tools') diff --git a/tools/klee/main.cpp b/tools/klee/main.cpp index 4e04dacc..ee115de3 100644 --- a/tools/klee/main.cpp +++ b/tools/klee/main.cpp @@ -289,9 +289,10 @@ namespace { cl::cat(TerminationCat)); cl::opt - UseLibcxx("use-libcxx", - cl::desc("Link the llvm libc++ library into the bitcode"), - cl::init(0)); + Libcxx("libcxx", + cl::desc("Link the llvm libc++ library into the bitcode (default=false)"), + cl::init(false), + cl::cat(LinkCat)); } namespace klee { @@ -1267,7 +1268,7 @@ int main(int argc, char **argv, char **envp) { preparePOSIX(loadedModules, libcPrefix); } - if (UseLibcxx) { + if (Libcxx) { #ifndef SUPPORT_KLEE_LIBCXX klee_error("Klee was not compiled with libcxx support"); #else -- cgit 1.4.1