[LLVMdev] Debugging Dependency Cycles between .a files for find-cycles.pl

Nick Lewycky nicholas at mxc.ca
Thu Nov 11 03:39:41 CST 2010


George Russell wrote:
> Hi,
>
> Are there some practical techniques or tools for how to debug this
> issue? Perhaps to visualise the graph, or report on how the cycle arose?

Yes. utils/GenLibDeps.pl knows how to emit graphviz files or a flat 
listing, however, I find that it usually doesn't work out of the box and 
needs just a little tweaking first.

Nick


More information about the LLVMdev mailing list