Runtime check of poisoning derived class members.
authorNaomi Musgrave <nmusgrave@google.com>
Mon, 3 Aug 2015 23:01:19 +0000 (23:01 +0000)
committerNaomi Musgrave <nmusgrave@google.com>
Mon, 3 Aug 2015 23:01:19 +0000 (23:01 +0000)
commit2551b62931a96d010086d2f29c33db27bffac134
tree5b43400966710ecbd32dea833623880658ccc839
parentbb4df94faa8cb027fb76d17ff7145f98700bac0a
Runtime check of poisoning derived class members.

Summary: Simple test case to verify that an instance of a derived class with virtual base is properly poisoned

Reviewers: eugenis, kcc

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D11733

modified test to be more concise, and check the local pointer to the destroyed object

revised test to not examine padding- only explicit object members

llvm-svn: 243913
compiler-rt/test/msan/dtor-derived-class.cc [new file with mode: 0644]