[PATCH] D37860: [MSan] Enable use-after-dtor instrumentation by default.
Vitaly Buka via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 14 13:55:43 PDT 2017
vitalybuka added inline comments.
================
Comment at: compiler-rt/test/msan/use-after-dtor.cc:13
#include <sanitizer/msan_interface.h>
#include <assert.h>
----------------
morehouse wrote:
> vitalybuka wrote:
> > Probably we need one test which check that we stop detecting bugs with
> > -fno-sanitize-memory-track-origins. Maybe this one or in separate file.
> Do you mean `-fno-sanitize-memory-use-after-dtor`? See `dtor-member.cc` test.
Right.
use-after-dtor.cc seems more general than dtor-member.cc. So maybe having it here as well would be nice.
https://reviews.llvm.org/D37860
More information about the cfe-commits
mailing list