about summary refs log tree commit diff homepage
path: root/lib/Basic/CmdLineOptions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Basic/CmdLineOptions.cpp')
-rw-r--r--lib/Basic/CmdLineOptions.cpp5
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