[llvm-bugs] [Bug 36310] New: Safe -icf-data

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Feb 8 19:27:17 PST 2018


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

            Bug ID: 36310
           Summary: Safe -icf-data
           Product: lld
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: ruiu at google.com
                CC: llvm-bugs at lists.llvm.org

Merging data sections by ICF is not usually safe because it breaks an
assumption pointer equality. However, section A is a substring of section B,
and if A's starting position in B is not zero, we can merge the two without
breaking the pointer equality. I don't know how much we can save with it, but
it may worth investigating.

-- 
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/20180209/e2a877d3/attachment.html>


More information about the llvm-bugs mailing list