Re: [PATCH] D22474: [CodeGen] Suppress C++ static destructor registration

2016-07-18 Thread Richard Smith via cfe-commits
rsmith added a comment. Interested reviewers, see also discussion here of whether we want this feature: http://lists.llvm.org/pipermail/cfe-dev/2016-July/050040.html https://reviews.llvm.org/D22474 ___ cfe-commits mailing list cfe-commits@lists.llv

[PATCH] D22474: [CodeGen] Suppress C++ static destructor registration

2016-07-18 Thread Bruno Cardoso Lopes via cfe-commits
bruno created this revision. bruno added reviewers: rsmith, doug.gregor. bruno added subscribers: cfe-commits, dexonsmith. C++ static destructors can be problematic in multi-threaded environment. Some of the issues users often complain about include: 1. Teardown ordering: crashes when one thread