Displaying 1 result from an estimated 1 matches for "jinit_c_master_control".
2014 Jul 07
2
[LLVMdev] Return Type of Call Function with nested bitcast
...o check if the return type of a call is void or non-void the below line
works well for CallInst without bit cast.
*cast<CallInst>(I)->getCalledFunction()->getReturnType()->isVoidTy()*
But for Call instructions like
*call void bitcast (void (%struct.jpeg_compress_struct.131*, i32)*
@jinit_c_master_control to void (%struct.jpeg_compress_struct.109*,
i32)*)(%struct.jpeg_compress_struct.109* %0, i32 0)*
getCalledFuncion returns null and the pass crashes.
Thanks!
Manish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachme...