[LLVMdev] Is there a guide to LLVM's components?
baldrick at free.fr
Fri Jul 23 00:34:45 PDT 2010
> - 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
More information about the llvm-dev