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

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

Reply via email to