[clang] [MS] Put dllexported inline global initializers in a comdat (PR #107154)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 3 16:14:08 PDT 2024


efriedma-quic wrote:

If there isn't a way to emit conforming code, then I think it's fine to emit non-conforming code, as long as there's an appropriate comment.  Breaking the ABI is clearly worse.

Does this impact non-MS targets?

https://github.com/llvm/llvm-project/pull/107154


More information about the cfe-commits mailing list