diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-08-01 04:04:39 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-08-01 04:04:39 +0000 |
commit | a5ab1aaf4334819d6d4291543d4d41c668a140c2 (patch) | |
tree | 4c9974d05be2603196f64c48222f6a2f81688f30 /klee/tools | |
parent | 571926a8f3927020ddebb28842e08294cef3f403 (diff) |
Update for LLVM API change.
Diffstat (limited to 'klee/tools')
-rw-r--r-- | klee/tools/klee/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/klee/tools/klee/main.cpp b/klee/tools/klee/main.cpp index de20f6d3762..a92aca8cbc4 100644 --- a/klee/tools/klee/main.cpp +++ b/klee/tools/klee/main.cpp @@ -1050,10 +1050,10 @@ static llvm::Module *linkWithUclibc(llvm::Module *mainModule) { ft->getParamType(0))); args.push_back(stub->arg_begin()); // argc args.push_back(++stub->arg_begin()); // argv - args.push_back(llvm::getGlobalContext().getNullValue(ft->getParamType(3))); // app_init - args.push_back(llvm::getGlobalContext().getNullValue(ft->getParamType(4))); // app_fini - args.push_back(llvm::getGlobalContext().getNullValue(ft->getParamType(5))); // rtld_fini - args.push_back(llvm::getGlobalContext().getNullValue(ft->getParamType(6))); // stack_end + args.push_back(Constant::getNullValue(ft->getParamType(3))); // app_init + args.push_back(Constant::getNullValue(ft->getParamType(4))); // app_fini + args.push_back(Constant::getNullValue(ft->getParamType(5))); // rtld_fini + args.push_back(Constant::getNullValue(ft->getParamType(6))); // stack_end CallInst::Create(uclibcMainFn, args.begin(), args.end(), "", bb); new UnreachableInst(bb); |