From e4401b37dba9045c8aa7dc01535fcb4cd92a399e Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sat, 1 Aug 2009 04:04:39 +0000 Subject: Update for LLVM API change. git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@77771 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/klee/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/klee/main.cpp b/tools/klee/main.cpp index de20f6d3..a92aca8c 100644 --- a/tools/klee/main.cpp +++ b/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); -- cgit 1.4.1