search for: putsf

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

Did you mean: puts
2010 May 05
2
[LLVMdev] How to cast an integer array to an integer pointer? (user question)
...ype::get(Type::getInt8Ty(Context), 4), Ivars), "g_value_mine", 0, false, 0/*AddrSpace*/); // ptr GetElementPtrInst *gepi = GetElementPtrInst::CreateInBounds( GGV, ConstantInt::get(Type::getInt32Ty(Context), 0), "zzz", BB ); // func call Function *PutsF = cast<Function>(M->getOrInsertFunction("puts", Type::getVoidTy(Context), Type::getInt8Ty(Context)->getPointerTo(), (Type *)0)); CallInst::Create(PutsF, (Value* const*)&gepi, (Value*...