mstorsjo wrote: This is an alternative to #68570. This has the upside that the `UseInitArray` flag is set to the correct value throughout the chain, for any other potential users of the field, in case it would affect code generation in other places. The downside is that if we only go with this, then any other language frontend, which might not know about the details about `.ctors`, will end up with the same bug unless they also add a similar fix. (We could of course go with both fixes as well.)
https://github.com/llvm/llvm-project/pull/68571 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits