[PATCH] D41207: Rename --icf-data and add a corresponding flag for functions

Rafael Ávila de Espíndola via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 13 16:15:44 PST 2017


rafael created this revision.
rafael added reviewers: ruiu, emaste, dimitry, rnk.

When we have --icf=safe we should be able to define --icf=all as a shorthand for --icf=safe --ignore-function-address-equality.

For now --ignore-function-address-equality is used only to control access to non preemptable symbols in shared libraries.


https://reviews.llvm.org/D41207

Files:
  ELF/Config.h
  ELF/Driver.cpp
  ELF/ICF.cpp
  ELF/Options.td
  ELF/Relocations.cpp
  test/ELF/Inputs/protected-data-access.s
  test/ELF/Inputs/protected-function-access.s
  test/ELF/icf9.s
  test/ELF/protected-data-access.s
  test/ELF/protected-function-access.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41207.126867.patch
Type: text/x-patch
Size: 7193 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171214/caa64bb9/attachment.bin>


More information about the llvm-commits mailing list