[clang] [ItaniumCXXABI] Mark RTTI type name as global unnamed_addr (PR #111343)
Richard Smith via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 10 12:12:24 PDT 2024
zygoloid wrote:
> unnamed_addr doesn't allow cloning; there's no way to make it work in a reasonable way even if we wanted it. See, for example, #32127 .
OK. The LangRef is very vague on its semantics, would be nice to get that clarified by someone who knows the intent.
Is the same true for `local_unnamed_addr`? In the change that added it (https://reviews.llvm.org/D20348), it appears that the intent was to support cloning (not putting the symbol in the symbol table will result in cloning).
https://github.com/llvm/llvm-project/pull/111343
More information about the cfe-commits
mailing list