[LLVMdev] Circular dependencies

Chris Lattner sabre at nondot.org
Tue Mar 21 22:28:27 PST 2006

On Tue, 21 Mar 2006, Chris Lattner wrote:
>> 2. Combine the JIT/Interpreter/ExecutionEngine into one .a
> I'd much rather change the code so that interpreter depends on EE and JIT 
> depends on EE, but EE depends on neither of them.
> This would allow people to link just the JIT or just the interpreter into 
> their apps, instead of always having both or none.

FWIW, this is now in CVS.

>> I don't know enough about the codegen/target/analysis/ipa stuff to be
>> able to make any suggestions. Perhaps Chris can shed some light.
>>>    LLVMCodeGen.o LLVMSelectionDAG.o libLLVMAnalysis.a libLLVMTarget.a
>>>    libLLVMTransformUtils.a libLLVMipa.a
> LLVMIPA should depend on LLVMAnalysis, but certainly nothing in the list 
> should depend on LLVMIPA.  If you knew what was pulling in IPA that would 
> probably be an easy tie to sever.

To diagnose and fix this, I need to know the specific symbol in libipa 
that is getting referenced.  Reid, since you have the magical ability to 
run the script, can you look into it?



More information about the llvm-dev mailing list