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

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Apr 25 10:28:14 PDT 2017


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

Rui Ueyama <ruiu at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Rui Ueyama <ruiu at google.com> ---
It turned out that it's working properly without doing anything. For REL
relocations, addends are stored to sections, so if two addends are different,
their section contents are naturally different. So we don't have to do anything
other than just comparing section contents normally.

-- 
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/20170425/3f6a4a70/attachment.html>


More information about the llvm-bugs mailing list