-
Notifications
You must be signed in to change notification settings - Fork 15.3k
Open
Labels
Description
| Bugzilla Link | 24578 |
| Version | unspecified |
| OS | Linux |
| Reporter | LLVM Bugzilla Contributor |
| CC | @eugenis,@morehouse |
Extended Description
The test lvm/llvm/test:Transforms/ScalarRepl/sroa-fca.ll.test fails when running it with -fsanitize-memory-use-after-dtor, and environment option MSAN_OPTIONS=poison_in_dtor=1
Invalid access of member HasHungOffUses in definition of operator delete for user. The member is inherited from llvm::Value. During test execution, the destructor of some llvm::Value instance is invoked, and poisons its own memory. The later destruction of the User instance fails when it attempts to access the inherited member.