diff options
-rw-r--r-- | include/klee/CommandLine.h | 5 | ||||
-rw-r--r-- | lib/Basic/CmdLineOptions.cpp | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/klee/CommandLine.h b/include/klee/CommandLine.h index c755114b..c4c70069 100644 --- a/include/klee/CommandLine.h +++ b/include/klee/CommandLine.h @@ -7,6 +7,7 @@ #define KLEE_COMMANDLINE_H #include "llvm/Support/CommandLine.h" +#include "klee/Config/config.h" namespace klee { @@ -43,6 +44,8 @@ enum QueryLoggingSolverType */ extern llvm::cl::list<QueryLoggingSolverType> queryLoggingOptions; +#ifdef SUPPORT_METASMT + enum MetaSMTBackendType { METASMT_BACKEND_NONE, @@ -53,6 +56,8 @@ enum MetaSMTBackendType extern llvm::cl::opt<klee::MetaSMTBackendType> UseMetaSMT; +#endif /* SUPPORT_METASMT */ + //A bit of ugliness so we can use cl::list<> like cl::bits<>, see queryLoggingOptions template <typename T> static bool optionIsSet(llvm::cl::list<T> list, T option) diff --git a/lib/Basic/CmdLineOptions.cpp b/lib/Basic/CmdLineOptions.cpp index 1201ac29..eac54141 100644 --- a/lib/Basic/CmdLineOptions.cpp +++ b/lib/Basic/CmdLineOptions.cpp @@ -73,6 +73,7 @@ llvm::cl::list<QueryLoggingSolverType> queryLoggingOptions( llvm::cl::CommaSeparated ); +#ifdef SUPPORT_METASMT llvm::cl::opt<klee::MetaSMTBackendType> UseMetaSMT("use-metasmt", @@ -84,6 +85,10 @@ UseMetaSMT("use-metasmt", clEnumValEnd), llvm::cl::init(METASMT_BACKEND_NONE)); +#endif /* SUPPORT_METASMT */ } + + + |