[PATCH] D52615: Handle -fsanitize-address-poison-class-member-array-new-cookie in the driver and propagate it to cc1
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 30 14:48:52 PDT 2018
rjmccall added a comment.
Thanks, and I agree with renaming the existing option.
================
Comment at: docs/ClangCommandLineReference.rst:805
-Enable poisoning array cookies when using class member operator new\[\] in AddressSanitizer
+Enable poisoning array cookies when using custom operator new\[\] in AddressSanitizer
----------------
This is user documentation, so it would be good to explain here what exactly this does and why you might enable or disable it. I know the surrounding documentation is even more barebones, but that's a problem, and it's a problem we won't fix by making it worse.
Repository:
rC Clang
https://reviews.llvm.org/D52615
More information about the cfe-commits
mailing list