search for: theprintf

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

2003 Nov 21
2
[LLVMdev] GetElementPtrInst Again!
...eTy with var args and returning SIntTy: > // Create a function for output (int printf(format,...)) > std::vector<Type*> params; > params.push_back( PointerType::get( Type::SByteTy ) ); > FunctionType* printf_type = FunctionType::get( Type::IntTy, params, true ); > ThePrintf = new Function( printf_type, GlobalValue::ExternalLinkage, > "printf", TheModule); > When I set up the call, I g...