[LLVMbugs] [Bug 11953] New: X86DisassemblerDecoder tblgen generated code is hugely bloated with a ton of relocations

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Feb 8 16:57:54 PST 2012


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

             Bug #: 11953
           Summary: X86DisassemblerDecoder tblgen generated code is hugely
                    bloated with a ton of relocations
           Product: libraries
           Version: 1.0
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: clattner at apple.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


lib/Target/X86/Disassembler/Release/X86DisassemblerDecoder.o is by far the
largest .o file generated in LLVM, weighing in at a whopping 1.9MB alone.  The
vast majority of this is static data (~1.2MB) but almost all of that (~950K) is
mutable data that is getting relocated by the dynamic linker at startup time.

These tables really really need to be shrunken in general, and the dynamic
relocations (i.e. pointers in one statically allocated global variable to
another one) should be eliminated if possible to reduce startup time of apps
that link them in.

-Chris

-- 
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