Jie Zhou via llvm-dev
2018-Sep-12 15:11 UTC
[llvm-dev] getCalledFunction() missing from the CallInst Class Reference manual page
Dear all, I noticed that several methods, such as getCalledFunction(), getCalledValue(), are no longer available from CallInst class reference manual page (http://llvm.org/doxygen/classllvm_1_1CallInst.html#details), although we can still use them in code. Does any one know the reason for the removal of these functions? Best, - Jie
Tim Northover via llvm-dev
2018-Sep-12 15:17 UTC
[llvm-dev] getCalledFunction() missing from the CallInst Class Reference manual page
Hi Jie, On Wed, 12 Sep 2018 at 16:12, Jie Zhou via llvm-dev <llvm-dev at lists.llvm.org> wrote:> I noticed that several methods, such as getCalledFunction(), getCalledValue(), are no longer available from CallInst class reference manual page (http://llvm.org/doxygen/classllvm_1_1CallInst.html#details), although we can still use them in code. Does any one know the reason for the removal of these functions?It looks like they're actually defined in CallBase (which is shared with invoke instructions). Cheers. Tim.