[LLVMbugs] [Bug 4648] New: JIT depends on AsmParser due to dwarfwriter

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Jul 29 14:08:41 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=4648

           Summary: JIT depends on AsmParser due to dwarfwriter
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: edwintorok at gmail.com
                CC: dpatel at apple.com, llvmbugs at cs.uiuc.edu,
                    wendling at apple.com


Created an attachment (id=3259)
 --> (http://llvm.org/bugs/attachment.cgi?id=3259)
~/llvm-git/llvm/utils/GenLibDeps.pl -flat -why ../../Release/lib "nm -p" >out

lli is 9.7M on x86-64, some libs are linked in that shouldn't, such as
AsmParser.

llvm-config --libs x86codegen says:
-lLLVMX86CodeGen -lLLVMX86Info -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMMC
-lLLVMCodeGen -lLLVMScalarOpts -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis
-lLLVMTarget -lLLVMCore -lLLVMSupport -lLLVMSystem

Looking at the -why output from GenDepLibs.pl I see:
libLLVMSelectionDAG.a:
 libLLVMAsmPrinter.a
  _ZN4llvm11DwarfWriter15RecordRegionEndEPNS_14GlobalVariableE
  _ZN4llvm11DwarfWriter16RecordSourceLineEjjNS_13DICompileUnitE
  _ZN4llvm11DwarfWriter17RecordRegionStartEPNS_14GlobalVariableE
  _ZN4llvm11DwarfWriter18RecordInlinedFnEndENS_12DISubprogramE
_ZN4llvm11DwarfWriter19RecordVariableScopeERNS_10DIVariableEPKNS_12MachineInstrE
 
_ZN4llvm11DwarfWriter20RecordInlinedFnStartENS_12DISubprogramENS_13DICompileUnitEjj
  _ZN4llvm11DwarfWriter2IDE
  _ZNK4llvm11DwarfWriter20ShouldEmitDwarfDebugEv

See attached full -why output.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list