[llvm-bugs] [Bug 39667] New: Linking for aarch64-windows is very slow

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Nov 14 13:49:37 PST 2018


            Bug ID: 39667
           Summary: Linking for aarch64-windows is very slow
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: COFF
          Assignee: unassignedbugs at nondot.org
          Reporter: dmajor at mozilla.com
                CC: froydnj at gmail.com, llvm-bugs at lists.llvm.org,
                    martin at martin.st, rnk at google.com, ruiu at google.com

Linking Firefox's xul.dll for aarch64-windows using lld-link takes 10x as long
as link.exe -- over 13 minutes.

I took a profile and essentially all the time is in comparing relocations for
equalsConstant under ICF::segregate.

I don't understand why equalsConstant is even looking at relocations. The
comments above equalsConstant and equalsVariable suggest that they would be
doing complementary work -- relocations vs everything else. But equalsConstant
has all of the checks of equalsVariable, and then some.

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/20181114/0bcc03dd/attachment-0001.html>

More information about the llvm-bugs mailing list