[PATCH] D37860: [MSan] Enable use-after-dtor instrumentation by default.

Evgenii Stepanov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 14 15:42:11 PDT 2017


eugenis added a comment.

Looking at __sanitizer_dtor_callback implementation, this change will add a (fast) stack unwind in every destructor. In extreme cases (like a tight loop doing string operations) it could be bad for performance. I've seen ~15% AFAIR.


https://reviews.llvm.org/D37860





More information about the cfe-commits mailing list