search for: ipstderr

Displaying 1 result from an estimated 1 matches for "ipstderr".

2006 Jun 30
1
[LLVMdev] instruction sequence
...quot;", MP); std::vector<Constant*> geplist; geplist.push_back(ConstantUInt::get(Type::UIntTy,0)); geplist.push_back(ConstantUInt::get(Type::UIntTy,0)); Constant* gep = ConstantExpr::getGetElementPtr(gv,geplist); IP = new LoadInst(GVstderr, "loadstderr", IP); IPstderr = IP; std::vector<Value*> args; args.push_back(IPstderr); args.push_back(gep); IP = new CallInst(F, args, "", IP); **************************************** However, I'm getting the following error message: ---------------------------------------- Instruction does...