diff options
Diffstat (limited to 'lib/Core/ExternalDispatcher.h')
-rw-r--r-- | lib/Core/ExternalDispatcher.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Core/ExternalDispatcher.h b/lib/Core/ExternalDispatcher.h index 94363bab..d869eb6f 100644 --- a/lib/Core/ExternalDispatcher.h +++ b/lib/Core/ExternalDispatcher.h @@ -10,7 +10,10 @@ #ifndef KLEE_EXTERNALDISPATCHER_H #define KLEE_EXTERNALDISPATCHER_H +#include "klee/Config/Version.h" + #include <map> +#include <memory> #include <string> #include <stdint.h> @@ -28,6 +31,9 @@ namespace klee { private: typedef std::map<const llvm::Instruction*,llvm::Function*> dispatchers_ty; dispatchers_ty dispatchers; +#if LLVM_VERSION_CODE >= LLVM_VERSION(3, 6) + std::unique_ptr<llvm::Module> dispatchModule_uniptr; +#endif llvm::Module *dispatchModule; llvm::ExecutionEngine *executionEngine; std::map<std::string, void*> preboundFunctions; |