[LLVMdev] Two quick questions on call graph nodes

Xiaolong Tang xiaolong.snake at gmail.com
Mon Jun 7 10:18:07 PDT 2010

Hello Duncan, 


> > First, there is a "indirect call node" dominating all other nodes
> > (include "main"). My question is: what does this special node serves
> > for?
> what version of LLVM are you using?  I don't think LLVM 2.7 uses a
> "indirect call node".  However it does use a "external node", which
> is used when a function external to the current module is called.

The "external node" makes sense. However, I am using LLVM 2.8. (See
the output from "opt -version") and build it against Revision 105271
in the svn repository. So, can I say that the presence of "indirect
call node" is new in LLVM 2.8?
  Low Level Virtual Machine (http://llvm.org/):
    llvm version 2.8svn
    DEBUG build with assertions.
    Built Jun  1 2010 (12:21:00).
    Host: x86_64-apple-darwin10
    Host CPU: core2


More information about the llvm-dev mailing list