[llvm-bugs] [Bug 50419] New: [PDB] Make ghashing the default type merging mode

via llvm-bugs llvm-bugs at lists.llvm.org
Thu May 20 09:16:16 PDT 2021


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

            Bug ID: 50419
           Summary: [PDB] Make ghashing the default type merging mode
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: COFF
          Assignee: unassignedbugs at nondot.org
          Reporter: rnk at google.com
                CC: llvm-bugs at lists.llvm.org

Anecdotally, I've noticed that ghashing is faster than regular type merging in
most cases. I need to gather harder data and try out a few different use cases
(small PDBs, low thread counts, etc), but I think we're almost ready to make
ghashing the default type merging mode.

I think we need to keep the legacy type merging code because it's a much
clearer reference implementation of how type merging is supposed to work, and
it gives us something to fall back to if there are bugs or ghash collisions.
Right now there is no "disable ghash" linker flag, so we need to add one,
perhaps /debug:noghash or /debug:ghash-.

-- 
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/20210520/0a45339a/attachment.html>


More information about the llvm-bugs mailing list