[PATCH] D103495: [static initializers] Emit global_ctors and global_dtors in reverse order when init_array is not used.

Wolfgang Pieb via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 8 10:13:24 PDT 2021


wolfgangp added a comment.

In D103495#2804685 <https://reviews.llvm.org/D103495#2804685>, @MaskRay wrote:

> 



> Can you check whether clang/lib/CodeGen/CGDeclCXX.cpp:507 needs any comment update?
> The subject "Don't put ordered dynamic initializers of static variables into global_ctors" needs an update as well.

If we are not defining the initialization order, it seems the comment doesn't need any updating yet, although once we do, it definitely will.


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

https://reviews.llvm.org/D103495



More information about the cfe-commits mailing list