[PATCH] D43361: [ThinLTO] Enable AutoHide on symbols with local_unnamed_addr
Rafael Avila de Espindola via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 15 15:27:57 PDT 2018
espindola requested changes to this revision.
espindola added a comment.
This revision now requires changes to proceed.
If LTO does change the IR in some way that would drop local_unnamed_addr, it will not be present in the .o that is passed to the linker.
So the linker can decide if it is valid to hide the symbol by looking at all the input files, bitcode or not, including the ones produced by LTO.
Repository:
rL LLVM
https://reviews.llvm.org/D43361
More information about the llvm-commits
mailing list