From 508d56ea83774a2af65e27ce0635840ed9898b49 Mon Sep 17 00:00:00 2001 From: Cristian Cadar Date: Wed, 6 Mar 2013 18:28:12 +0000 Subject: Patch by Tomek Kuchta which adds the --max-stp-time option to Kleaver. git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@176571 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Basic/CmdLineOptions.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/Basic/CmdLineOptions.cpp') diff --git a/lib/Basic/CmdLineOptions.cpp b/lib/Basic/CmdLineOptions.cpp index f14b813a..714ae131 100644 --- a/lib/Basic/CmdLineOptions.cpp +++ b/lib/Basic/CmdLineOptions.cpp @@ -35,6 +35,11 @@ MinQueryTimeToLog("min-query-time-to-log", "Only queries longer than threshold will be logged. (default=0). " "Set this param to a negative value to log timeouts only.")); +llvm::cl::opt +MaxSTPTime("max-stp-time", + llvm::cl::desc("Maximum amount of time for a single query (default=0s (off)). Enables --use-forked-stp"), + llvm::cl::init(0.0)); + /* Using cl::list<> instead of cl::bits<> results in quite a bit of ugliness when it comes to checking * if an option is set. Unfortunately with gcc4.7 cl::bits<> is broken with LLVM2.9 and I doubt everyone -- cgit 1.4.1