[llvm-bugs] [Bug 50975] New: lld/mac is very slow to link lld when debug symbols are present

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Jul 3 19:05:52 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=50975

            Bug ID: 50975
           Summary: lld/mac is very slow to link lld when debug symbols
                    are present
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: MachO
          Assignee: unassignedbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: gkm at fb.com, jezreel at gmail.com,
                    llvm-bugs at lists.llvm.org, smeenai at fb.com

1. Enable line tables (`-g1`) for building, e.g. with symbol_level=1 in the gn
build
2. Build lld, use lld as host linker

Expected: Fast
Actual: It takes 14 seconds to link lld (compared to 9.5s with ld64).

I can upload a repro file if that's useful (it's 840MB uncompressed).

-- 
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/20210704/e8a589cd/attachment.html>


More information about the llvm-bugs mailing list