[LLVMdev] Identify recursion in a call graph

Trevor Harmon trevor.w.harmon at nasa.gov
Fri Nov 5 15:21:13 PDT 2010


On Nov 2, 2010, at 11:08 PM, Nick Lewycky wrote:

> The unittests/ directory contains C++ unit tests for arbitrary C++  
> APIs
> that don't fit the dejagnu model of running opt or llc over .ll files.

Thanks for the tip. Attached is a patch+testcase that adds  
CallGraphNode::isRecursive to LLVM. Could someone with commit access  
please review and apply? Thanks,

Trevor

-------------- next part --------------
A non-text attachment was scrubbed...
Name: isRecursive_LLVM-2.8.patch
Type: application/octet-stream
Size: 1726 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101105/7a5e7a84/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: isRecursive_LLVM-trunk.patch
Type: application/octet-stream
Size: 1726 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101105/7a5e7a84/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CallGraphTest.cpp
Type: application/octet-stream
Size: 8522 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101105/7a5e7a84/attachment-0002.obj>
-------------- next part --------------



More information about the llvm-dev mailing list