[LLVMdev] Finding the functions whose addresses are taken.
Kenneth Uildriks
kennethuil at gmail.com
Tue Sep 8 10:23:56 PDT 2009
Each function is a GlobalValue. Find all the uses of them... any uses
that are not a "call" with the function as callee goes into your list.
Global variables work the same way. Find the uses of them that are
not "Load" or "Store" instructions with the global value as the
pointer operand.
On Tue, Sep 8, 2009 at 12:20 PM, Sanjiv Gupta<sanjiv.gupta at microchip.com> wrote:
> Hi,
> How to find in a module, the list of functions whose addresses are ever
> taken into some variables?
>
> - Sanjiv
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
More information about the llvm-dev
mailing list