On Tue, Mar 20, 2018 at 05:01:24PM -0700, Rafael Avila de Espindola wrote: > Joerg Sonnenberger via cfe-commits <cfe-commits@lists.llvm.org> writes: > > > On Tue, Mar 20, 2018 at 08:42:55PM -0000, Rafael Espindola via cfe-commits > > wrote: > >> Author: rafael > >> Date: Tue Mar 20 13:42:55 2018 > >> New Revision: 328040 > >> > >> URL: http://llvm.org/viewvc/llvm-project?rev=328040&view=rev > >> Log: > >> Set dso_local on string literals. > > > > I wonder if unnamed_addr shouldn't imply that in general? > > I don't think so. For example, a language where functions cannot be > compared for equality could mark all functions unnamed_addr. It could > still support interposition, which requires that they are not dso_local.
I don't think that argument makes sense. The address is not named, that strongly implies that can't be interpositioned either. Joerg _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits