Displaying 3 results from an estimated 3 matches for "retprintf".
Did you mean:
reprintf
2004 Dec 21
3
[LLVMdev] Help with code
...::vector<Constant *> GEPIndices(2);
GEPIndices[0]=Constant::getNullValue(Type::LongTy);
GEPIndices[1]=Constant::getNullValue(Type::LongTy);
Args[0]=ConstantExpr::getGetElementPtr(strcon,GEPIndices);
Args[1]=ConstantInt::get(Type::IntTy, id);
Instruction * cI= new CallInst(printFn, Args, "retprintf",instr);
Thanks
2004 Dec 21
0
[LLVMdev] Help with code
...alue(Type::LongTy);
> Args[0]=ConstantExpr::getGetElementPtr(strcon,GEPIndices);
You are using 'strcon', but you defined 'str' above. Where is 'strcon'
coming from?
> Args[1]=ConstantInt::get(Type::IntTy, id);
> Instruction * cI= new CallInst(printFn, Args, "retprintf",instr);
--
Misha Brukman :: http://misha.brukman.net :: http://llvm.cs.uiuc.edu
2004 Dec 21
3
[LLVMdev] Help with code
...s[0]=ConstantExpr::getGetElementPtr(strcon,GEPIndices);
>
> You are using 'strcon', but you defined 'str' above. Where is 'strcon'
> coming from?
>
> > Args[1]=ConstantInt::get(Type::IntTy, id);
> > Instruction * cI= new CallInst(printFn, Args, "retprintf",instr);
>
> --
> Misha Brukman :: http://misha.brukman.net :: http://llvm.cs.uiuc.edu
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://mail.cs.uiuc.edu/mailman/listinfo/...