[llvm-dev] Interpreting DSCallGraph results
Kevin Hu via llvm-dev
llvm-dev at lists.llvm.org
Mon Dec 28 17:12:18 PST 2015
I checked the old code and the DSA pass we used in the project was
CallTargetFinder, and it required the data structure to use. And we used
The require statement in getAnalysisUsage method looks like this:
Is this what you're asking?
BTW, what's the state of the DSA and poolalloc project at the moment? Which
version of LLVM does it work with? And where can I find documentation?
On Mon, Dec 28, 2015 at 3:05 PM Christian Convey <christian.convey at gmail.com>
> Any suggestions for how to interpret DSCallGraph's output for the
>> Which DSA pass are you using to generate the call graph? You'll get
>> different results from different DSA passes.
> I believe I was using TDDataStructures in that run.
>> You need to assume that any incomplete call site calls external code
>> which can call any function that a) whose linkage makes it visible to (and
>> therefore callable from) external code and b) any function whose address is
>> in a DSNode that has the Incomplete or External flag set (i.e., the
>> function pointer could be read by external code).
> Thanks, that's extremely useful. Much appreciated.
> - Christian
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev