diff options
author | Dan Liew <daniel.liew@imperial.ac.uk> | 2016-01-14 16:59:08 +0000 |
---|---|---|
committer | Dan Liew <daniel.liew@imperial.ac.uk> | 2016-02-10 20:56:22 +0000 |
commit | 37694e11c7a767105244ec563b061d13f0779f05 (patch) | |
tree | 8948d430d72373221eb0c34a85a1127d033efab7 /lib/Solver/CoreSolver.cpp | |
parent | e6ba74cf608cf733916f0df2471c6a5fc5a804cf (diff) | |
download | klee-37694e11c7a767105244ec563b061d13f0779f05.tar.gz |
Add some of the basic plumbing required to support a Z3 solver in KLEE.
Diffstat (limited to 'lib/Solver/CoreSolver.cpp')
-rw-r--r-- | lib/Solver/CoreSolver.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/Solver/CoreSolver.cpp b/lib/Solver/CoreSolver.cpp index 9248f3d3..26842d31 100644 --- a/lib/Solver/CoreSolver.cpp +++ b/lib/Solver/CoreSolver.cpp @@ -86,6 +86,15 @@ Solver *createCoreSolver(CoreSolverType cst) { #endif case DUMMY_SOLVER: return createDummySolver(); + case Z3_SOLVER: +#ifdef ENABLE_Z3 + // TODO + llvm::report_fatal_error("Z3 support not implemented"); + return NULL; +#else + llvm::errs() << "Not compiled with Z3 support\n"; + return NULL; +#endif default: llvm_unreachable("Unsupported CoreSolverType"); } |