[llvm-bugs] [Bug 32772] New: ICF does not take addends into account if REL (as opposed to RELA)

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Apr 24 12:50:49 PDT 2017


http://bugs.llvm.org/show_bug.cgi?id=32772

            Bug ID: 32772
           Summary: ICF does not take addends into account if REL (as
                    opposed to RELA)
           Product: lld
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: ruiu at google.com
                CC: llvm-bugs at lists.llvm.org

Currently, ICF doesn't read addends for REL relocations correctly. As a result,
two relocations that has two different addends can be considered the same by
ICF, which results in a wrong output. We need to use
TargetInfo::getImplicitAddend to read addends.

-- 
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/20170424/c20fb892/attachment.html>


More information about the llvm-bugs mailing list