[llvm-bugs] [Bug 36910] New: Incorrect deduplication of MergeInputSection's

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Mar 26 08:21:45 PDT 2018


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

            Bug ID: 36910
           Summary: Incorrect deduplication of MergeInputSection's
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: anng.sw at gmail.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 20129
  --> https://bugs.llvm.org/attachment.cgi?id=20129&action=edit
Lit test reproducible

When using "--icf=all --ignore-data-address-equality", MergeInputSection's
whose contents are not equal may be incorrectly deduplicated.

This incorrect behaviour is caused by the fact that the Data member of
MergeInputSection, which is used by ICF to check equality of contents, is
always empty.

-- 
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/20180326/2a8068b3/attachment.html>


More information about the llvm-bugs mailing list