[LLVMdev] LLVM Dependency Graph
Óscar Fuentes
ofv at wanadoo.es
Mon Jul 26 10:31:10 PDT 2010
Chris Lattner <clattner at apple.com> writes:
> On Jul 26, 2010, at 9:41 AM, David Piepgrass wrote:
>
>> Based on cmake/modules/LLVMLibDeps.cmake, I produced a graphviz dot
>> file and then manually removed components and edges until the graph
>> was small enough to be presentable. I don’t know if I can actually
>> use LLVM due to its humongousness, but I hope the graph will be
>> helpful to others attempting to comprehend LLVM. PNG attached; dot
>> file follows.
>
> This is really cool. Do you have a script that produces the .dot
> file? If so, we could check it in and add a makefile target,
CMake has that feature built-in:
cmake --graphviz=foo.dot path/to/llvm/root
The graph isn't very pretty, but it can be processed with some tool to
fancify it, as explained on this blog post:
http://www.semipol.de/?page_id=198
More information about the llvm-dev
mailing list