search for: richdougherty

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

2010 Jan 18
3
[LLVMdev] How to create a CallInst that calls a standard c function like "printf"
I am working on a program based on LLVM. I want to modify the .bc file throught C++ APIs provided by LLVM, but I don't know how to create a CallInst that calls a standard c function like "printf", can anyone help me with this problem? The file attached is the program I wrote, it can be compiled, however, the result of the dump of the retrieved module is not correct(missing global