[LLVMdev] How to declare and use sprintf
Anton Korobeynikov
asl at math.spbu.ru
Sun Nov 25 16:34:07 PST 2007
Hello, Jon
> What is the correct way to do this?
FunctionType constructor takes extra boolean for marking a varargs
function.
There is some trick: feed your bytecode to llvm2cpp tool and you'll get
C++ source, which will construct the module you provided. From this
source you can see, how different things can be created via LLVM API.
--
With best regards, Anton Korobeynikov.
Faculty of Mathematics & Mechanics, Saint Petersburg State University.
More information about the llvm-dev
mailing list