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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits