[LLVMdev] Is there a guide to LLVM's components?

Duncan Sands baldrick at free.fr
Fri Jul 23 00:34:45 PDT 2010


Hi David,

> - The graph says that nothing except HowToUseJIT depends on LLVMCore. In fact, there are very few dependencies between different libraries.... for example, unlike the earlier graph, it says LLVMAnalysis, LLVMTransformUtils and LLVMScalarOpts DO NOT depend on each other. This is all wrong, right? I think the problem is that it's a graph of BUILD dependencies, not real dependencies: for example LLVMAnalysis and LLVMCore libraries can be BUILT independently, because LLVMAnalysis' doesn't depend on LLVMCore until link time. Therefore only executables, such as HowToUseJIT, actually needs to list LLVMCore as a dependency. Yes?

the LLVM build system computes dependencies, in order to detect circular
dependencies for example.  Take a look at tools/llvm-config/find-cycles.pl

Ciao,

Duncan.



More information about the llvm-dev mailing list