[PATCH] D12713: Runtime test for poisoning vtable pointer during destruction.

Evgeniy Stepanov via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 15 16:58:52 PDT 2015


eugenis added inline comments.

================
Comment at: test/msan/dtor-vtable-multiple-inheritance.cc:8
@@ +7,3 @@
+// RUN: %clangxx_msan %s -CMACRO=1 -O2 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=1 %run %t
+
+// RUN: %clangxx_msan %s -EAMACRO=1 -O2 -fsanitize=memory -fsanitize-memory-use-after-dtor -o %t && MSAN_OPTIONS=poison_in_dtor=1 %run %t
----------------
not done

================
Comment at: test/msan/dtor-vtable-multiple-inheritance.cc:15
@@ +14,3 @@
+// function using vtable.
+// XFAIL: *
+
----------------
Remove XFAIL. Is it here because the implementation of vptr poisoning is not committed yet?



http://reviews.llvm.org/D12713





More information about the llvm-commits mailing list