diff options
author | Cristian Cadar <cristic@cs.stanford.edu> | 2013-03-06 18:28:12 +0000 |
---|---|---|
committer | Cristian Cadar <cristic@cs.stanford.edu> | 2013-03-06 18:28:12 +0000 |
commit | 508d56ea83774a2af65e27ce0635840ed9898b49 (patch) | |
tree | 45963d9bee3de401464dcf377bbfd0cd7dadca1f /lib/Basic | |
parent | c7ffcff9f238448e19fafc6ab84d244a18d687f8 (diff) | |
download | klee-508d56ea83774a2af65e27ce0635840ed9898b49.tar.gz |
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
Diffstat (limited to 'lib/Basic')
-rw-r--r-- | lib/Basic/CmdLineOptions.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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<double> +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 |