[PATCH] D41644: Rename --icf-data and add a corresponding flag for functions
Rafael Avila de Espindola via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 30 19:42:35 PST 2017
espindola created this revision.
espindola added reviewers: ruiu, emaste, rnk, dim.
This is a replacement to https://reviews.llvm.org/D41207. I could not figure out how to update it with my new phab account.
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/D41644
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: D41644.128364.patch
Type: text/x-patch
Size: 7180 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171231/f9a1c708/attachment.bin>
More information about the llvm-commits
mailing list