[llvm-bugs] [Bug 36878] New: Deduplication of merged input sections causes incorrect relocation

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Mar 23 07:54:29 PDT 2018


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

            Bug ID: 36878
           Summary: Deduplication of merged input sections causes
                    incorrect relocation
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Windows XP
            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, rafael at espindo.la

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

When merged input sections are deduplicated using --icf=all
--ignore-data-address-equality, the relocation of the "removed" merged input
section is incorrect.

Attached is a lit test that demonstrates this issue.

-- 
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/20180323/ccc9a1ca/attachment.html>


More information about the llvm-bugs mailing list