tianshilei1992 added a comment. In D129008#3640233 <https://reviews.llvm.org/D129008#3640233>, @jdoerfert wrote:
> In D129008#3640194 <https://reviews.llvm.org/D129008#3640194>, > @tianshilei1992 wrote: > >> `callCStructCopyConstructor` is actually for Objective-C…Cannot use it here. > > Don't we generate copies of things elsewhere already? No we don't. I think the best place to emit copy is where the globalized variable is generated. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D129008/new/ https://reviews.llvm.org/D129008 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits