iains added a comment.

@urnathan - I believe that this now implements the same scheme as you have done 
for GCC (less any of the optimisations).
In particular, we now emit global CTOR entries for module initializers, even 
though these should really be called explicitly, but as was discussed on the 
core/sg15 reflectors it is possible (at least for unix-like systems) to 
construct cases where module objects are included in a final binary without 
their initializers being called.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126189/new/

https://reviews.llvm.org/D126189

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to