[llvm-bugs] [Bug 32228] New: -gdb-index is too slow

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Mar 10 13:53:54 PST 2017


            Bug ID: 32228
           Summary: -gdb-index is too slow
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: ruiu at google.com
                CC: llvm-bugs at lists.llvm.org

Our -gdb-index option is too slow. This is the time comparison to link clang
with debug info.

  ld.lld with -gdb-index      45.78s
  ld.lld without -gdb-index   7.88s

  ld.gold with -gdb-index     45.76s
  ld.gold without -gdb-index  22.27s

These numbers mean that our -gdb-index option needs 15 more seconds to process
than the GNU gold linker. In total, it takes 38 seconds. We need to make this,
say, 10x faster.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170310/6851f920/attachment.html>

More information about the llvm-bugs mailing list