[llvm-dev] Get root node of CallGraph
Mehdi Amini via llvm-dev
llvm-dev at lists.llvm.org
Tue Dec 8 13:26:37 PST 2015
> On Dec 8, 2015, at 8:38 AM, Riyad Parvez via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> There is a "Root" private member in CallGraph <http://llvm.org/docs/doxygen/html/CallGraph_8h_source.html#l00192> class. But there is no way to get access to that member. How can I do that? I can get CallGraphNode of "main" method. But I am curious is there more cleaner way.
What is your use case? It may be possible to add an accessor.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev