Displaying 1 result from an estimated 1 matches for "vfnprintf".
2012 Sep 27
0
[LLVMdev] Possible bug or misunderstanding of feature LLVMConstIntOfString
...MBasicBlockRef bEntry = LLVMAppendBasicBlock(vFnMain, "entry");
    LLVMBuilderRef bldr = LLVMCreateBuilder();
    LLVMPositionBuilderAtEnd(bldr, bEntry);
    //  "C" printf function;
    LLVMTypeRef vpFnPrintfArgsType[] = { LLVMPointerType(LLVMInt8Type(), 0)
};
    LLVMTypeRef vFnPrintfType = LLVMFunctionType(LLVMInt32Type(),
vpFnPrintfArgsType, 1, 1);
    LLVMValueRef vFnPrintf = LLVMAddFunction(modCEx, "printf",
vFnPrintfType);
    LLVMSetLinkage(vFnPrintf, LLVMExternalLinkage);
    //  printf with arguments
    LLVMValueRef printfArgTemplate = LLVMBuildGlobalStringPt...