[LLVMdev] Some thinking for callgraph builder
Andrew Lenharth
alenhar2 at uiuc.edu
Tue May 30 07:26:53 PDT 2006
On Wed, 2006-05-24 at 11:04, Nai Xia wrote:
> Indirect call information could be constructed either from partial result
> of DSA as suggested by Andrew. And alternatively, it can use the alias
> information constructed by any AA. I think both interface may be
> provided to let clients chose between the generality and the tight
> integration with wonderful DSA.
I committed a utility pass I use in a few out of tree projects. It
gives very simple access to the function lists computed by DSA for
indirect call sites. I've used it in several places where I needed
indirect call information. See CallTarget.cpp in the DSA directory.
Andrew
More information about the llvm-dev
mailing list