This is an archive of the discontinued LLVM Phabricator instance.

Failing test highlighting no poisoning when destructor not declared.
ClosedPublic

Authored by nmusgrave on Sep 3 2015, 4:45 PM.

Details

Summary

When destructor for a class is not declared, no destructor
is emitted, and members are not poisoned. Test case exhibits this
current bug in use-after-dtor implementation.

Diff Detail

Event Timeline

nmusgrave updated this revision to Diff 33990.Sep 3 2015, 4:45 PM
nmusgrave retitled this revision from to Failing test highlighting no poisoning when destructor not declared..
nmusgrave updated this object.
nmusgrave added reviewers: eugenis, kcc.
nmusgrave added a subscriber: llvm-commits.
nmusgrave updated this revision to Diff 34225.Sep 8 2015, 9:40 AM
  • Rename test files.
eugenis accepted this revision.Sep 8 2015, 11:41 AM
eugenis edited edge metadata.
eugenis added inline comments.
test/msan/dtor-trivial.cpp
7

full link instead of just an issue number
especially since it's not on the the llvm bugtracker

This revision is now accepted and ready to land.Sep 8 2015, 11:41 AM
nmusgrave closed this revision.Sep 8 2015, 3:47 PM