[PATCH] D12914: Updating docs for poison-in-dtor.

Evgeniy Stepanov via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 16 17:08:31 PDT 2015


eugenis added inline comments.

================
Comment at: docs/UsersManual.rst:1070
@@ +1069,3 @@
+      detection in MemorySanitizer. After invocation of the destructor,
+      the object is considered no longer accessible. Facilitates the
+      detection of use-after-destroy bugs.
----------------
maybe "the object memory is considered undefined"

It is still writable and can be reused with a placement new, or any other way.



http://reviews.llvm.org/D12914





More information about the llvm-commits mailing list