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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to