aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorCristian Cadar <c.cadar@imperial.ac.uk>2017-02-27 14:47:33 +0000
committerGitHub <noreply@github.com>2017-02-27 14:47:33 +0000
commitbff9fb9277f890f2fd9b4acd3b9d5eed0e78f967 (patch)
tree29e23676c07a95e83c58b5bcb5f8fd4189efaf45 /include
parent1b67624c3a2fc1ca6f60d0a2b0f675d046dbba76 (diff)
parent4c8fabc7de30e17ef116b8f413f3a973c29cb56c (diff)
downloadklee-bff9fb9277f890f2fd9b4acd3b9d5eed0e78f967.tar.gz
Merge pull request #600 from jirislaby/no_global_context
llvm: stop using global context
Diffstat (limited to 'include')
-rw-r--r--include/klee/Interpreter.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/klee/Interpreter.h b/include/klee/Interpreter.h
index ece84b2c..4c428994 100644
--- a/include/klee/Interpreter.h
+++ b/include/klee/Interpreter.h
@@ -18,6 +18,7 @@ struct KTest;
namespace llvm {
class Function;
+class LLVMContext;
class Module;
class raw_ostream;
class raw_fd_ostream;
@@ -93,7 +94,8 @@ protected:
public:
virtual ~Interpreter() {}
- static Interpreter *create(const InterpreterOptions &_interpreterOpts,
+ static Interpreter *create(llvm::LLVMContext &ctx,
+ const InterpreterOptions &_interpreterOpts,
InterpreterHandler *ih);
/// Register the module to be executed.