[llvm-bugs] [Bug 33855] New: add support for icf=safe

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jul 19 14:20:35 PDT 2017


            Bug ID: 33855
           Summary: add support for icf=safe
           Product: lld
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: llozano at chromium.org
                CC: llvm-bugs at lists.llvm.org

This is a request to add --icf=safe or similar functionality. 

This flag was identified as one of missing functionality while trying to build
android with LLD.

In talking to Rui Ueyama, he suggested the following:

"The plan we were discussing is to make clang emit attribute for each function
whether its address is taken or not, so that the linker can merge functions
only when their addresses are not taken."

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/20170719/9f79a022/attachment-0001.html>

More information about the llvm-bugs mailing list