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.
LLD -> lld