[LLVMdev] Creating a Return Instruction.
rgoparaj at umail.iu.edu
Sat Apr 17 20:12:12 PDT 2010
I have to create a return instruction in a function. The function is of
type -- void * func (void *) . So i have to create a return instruction for
the function that should return a void pointer. But actually the function
will not return anything useful . it will be something like -- return void
* null. The problem i am facing is to create a return instruction the
Create function expects a pointer to a value and i am not able to do that.
How do i create such a return instruction.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev