Describe the compile and runtime flags to enable MemorySanitizer
detection of use-after-destroy.
Details
Diff Detail
Event Timeline
docs/UsersManual.rst | ||
---|---|---|
1068 | This is a user-facing manual, avoid using specialized terms like "poisoning". Say that this enabled use-after-destruction detection and that with this the object memory is considered uninitialized after the destructor has run. | |
1072 | Until poison_in_dtor defaults to 1, we should consider this feature experimental. Say so, and make it clear that poison_in_dtor=1 is required for the flag to have any effect. | |
1074 | not "fails", but is reported as a use of uninitialized value |
docs/UsersManual.rst | ||
---|---|---|
1070 | maybe "the object memory is considered undefined" It is still writable and can be reused with a placement new, or any other way. |
This is a user-facing manual, avoid using specialized terms like "poisoning". Say that this enabled use-after-destruction detection and that with this the object memory is considered uninitialized after the destructor has run.