Displaying 1 result from an estimated 1 matches for "0c138605".
Did you mean:
0.138005
2012 Feb 09
1
[LLVMdev] Difficulty inserting putchar in IR
Hi,
I have written a simple code to insert putchar() function into IR.
It compiled well but when I tried to run the generated .bc file with lli,
its not showing
proper output.
Function *putchar_func = cast<Function>(M->
getOrInsertFunction("putchar", IntegerType::getInt32Ty(Context),
IntegerType::getInt32Ty(Context), NULL));
Value *One =