MaskRay added a comment.

In D103495#2804254 <https://reviews.llvm.org/D103495#2804254>, @efriedma wrote:

> Are there any existing optimizations that might be affected by this?  In 
> particular, I think GlobalOpt implicitly reorders functions in global_ctors.

Thanks for mentioning llvm::optimizeGlobalCtorsList. It keeps the order of the 
remaining items so I assume defining an order among constructors with the same 
priority should be fine.


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

https://reviews.llvm.org/D103495

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

Reply via email to