about summary refs log tree commit diff homepage
path: root/tools
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-12 20:42:31 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-12 20:42:31 +0000
commit40d4cc09c873518519723244b38cc740ceda2bc8 (patch)
tree1e5918852817b13d7c146e28654c52d9ffa18422 /tools
parent1277acf6d1de3208a458d76710a94e63f9d3bf94 (diff)
downloadklee-40d4cc09c873518519723244b38cc740ceda2bc8.tar.gz
Update for LLVM API changes.
git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@75427 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/klee/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/klee/main.cpp b/tools/klee/main.cpp
index a6cc7aa8..7fff773c 100644
--- a/tools/klee/main.cpp
+++ b/tools/klee/main.cpp
@@ -1129,7 +1129,7 @@ int main(int argc, char **argv, char **envp) {
   std::string ErrorMsg;
   ModuleProvider *MP = 0;
   if (MemoryBuffer *Buffer = MemoryBuffer::getFileOrSTDIN(InputFile, &ErrorMsg)) {
-    MP = getBitcodeModuleProvider(Buffer, &ErrorMsg);
+    MP = getBitcodeModuleProvider(Buffer, getGlobalContext(), &ErrorMsg);
     if (!MP) delete Buffer;
   }