[llvm-dev] ThinLTO and linkonce_odr + unnamed_addr

Rafael Avila de Espindola via llvm-dev llvm-dev at lists.llvm.org
Fri Feb 9 11:41:40 PST 2018


Peter Collingbourne via llvm-dev <llvm-dev at lists.llvm.org> writes:

> I wonder whether we could change the frontend to always give hidden
> visibility to globals which are linkonce_odr unnamed_addr. That way, the
> mechanism would just work in ELF as well and would not require LTO.

I think we can: https://bugs.llvm.org/show_bug.cgi?id=36325

LTO would still be important for local_unnamed_addr.

Cheers,
Rafael


More information about the llvm-dev mailing list