[PATCH] D11733: Runtime check of poisoning derived class members.

Evgeniy Stepanov eugenis at google.com
Mon Aug 3 15:51:12 PDT 2015


eugenis accepted this revision.
eugenis added a comment.
This revision is now accepted and ready to land.

LGTM


================
Comment at: test/msan/dtor-derived-class.cc:34
@@ +33,3 @@
+  assert(__msan_test_shadow(&d, sizeof(d)) == -1);
+  assert(__msan_test_shadow(d, sizeof(*d)) != -1);
+  assert(__msan_test_shadow(&d->x, sizeof(d->x)) != -1);
----------------
Please remove this check, and the same check for "b".


http://reviews.llvm.org/D11733







More information about the cfe-commits mailing list