diff options
author | Dan Liew <daniel.liew@imperial.ac.uk> | 2016-09-15 12:09:23 +0100 |
---|---|---|
committer | Dan Liew <delcypher@gmail.com> | 2017-03-23 21:46:41 +0000 |
commit | 4530447c21353b5596b66a9fbb642409cda56f73 (patch) | |
tree | 094a516168e39166898887984cdb2cbed6762965 /lib/Basic/CmdLineOptions.cpp | |
parent | a40818cab8e1b2315ac40d2c2cb125fc422e8ed7 (diff) | |
download | klee-4530447c21353b5596b66a9fbb642409cda56f73.tar.gz |
Add `AssignmentValidatingSolver`. It's purpose is to check any computed
assignments against the corresponding `Query` object and check the assignment evaluates correctly. This can be switched on using `-debug-assignment-validating-solver` on the command line.
Diffstat (limited to 'lib/Basic/CmdLineOptions.cpp')
-rw-r--r-- | lib/Basic/CmdLineOptions.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Basic/CmdLineOptions.cpp b/lib/Basic/CmdLineOptions.cpp index e55c4550..82cb01b2 100644 --- a/lib/Basic/CmdLineOptions.cpp +++ b/lib/Basic/CmdLineOptions.cpp @@ -82,6 +82,10 @@ llvm::cl::list<QueryLoggingSolverType> queryLoggingOptions( llvm::cl::CommaSeparated ); +llvm::cl::opt<bool> + UseAssignmentValidatingSolver("debug-assignment-validating-solver", + llvm::cl::init(false)); + #ifdef ENABLE_METASMT #ifdef METASMT_DEFAULT_BACKEND_IS_BTOR |