[llvm-commits] Cyclic dependencies between LLVM libraries with debug builds

Chris Lattner clattner at apple.com
Fri Jun 19 08:48:58 PDT 2009


On Jun 19, 2009, at 2:39 AM, Duncan Sands wrote:
>> I'm not seeing that.  Can you go into tools/llvm-config and run an   
>> appropriately path-adjusted version of this:
>> /usr/bin/perl /Users/sabre/llvm/utils/GenLibDeps.pl -flat -why / 
>> Users/ sabre/llvm/Debug/lib "/usr/bin/nm -p" > out.txt
>> and send me out.txt?
>
> here you go (attached).  For example, libLLVMSparcAsmPrinter.a depends
> on libLLVMSparcCodeGen.a because of these symbols:
>  _ZN4llvm2SP14FPRegsRegClassE
>  _ZN4llvm2SP15DFPRegsRegClassE
>  _ZN4llvm2SP15IntRegsRegClassE
> While libLLVMSparcCodeGen.a depends on libLLVMSparcAsmPrinter.a  
> because
> of this symbol:
> _ZN4llvm26createSparcCodePrinterPassERNS_11raw_ostreamERNS_13TargetMachineENS_10CodeGenOpt5LevelEb

Well that's definitely a problem.  r73767 should fix this, I wonder  
why I don't see this. :(

-Chris



More information about the llvm-commits mailing list