llvm-project/polly/lib
Tobias Grosser f44f005a7d Remove freed InvalidDomains from InvalidDomainMap.
Summary:
Since r306667, propagateInvalidStmtDomains gets a reference to an
InvalidDomainMap. As part of the branch leading to return false, the respective
domain is freed. It is, however, not removed from the InvalidDomainMap, leaking
a pointer to a freed object which results in a use-after-free. Fix this be
removing the domain from the map before returning.

We tried to derive a test case that reliably failes, but did not succeed in
producing one. Hence, for now the failures in our LNT bots must be sufficient
to keep this issue tested.

Reviewers: grosser, Meinersbur, bollu

Subscribers: bollu, nandini12396, pollydev, llvm-commits

Differential Revision: https://reviews.llvm.org/D34971

llvm-svn: 307499
2017-07-09 15:47:17 +00:00
..
Analysis Remove freed InvalidDomains from InvalidDomainMap. 2017-07-09 15:47:17 +00:00
CodeGen [Polly] [PPCGCodeGeneration] Teach `must_kills` to kill scalars that are local to the scop. 2017-07-06 13:42:42 +00:00
Exchange Heap allocation for new arrays. 2017-06-28 13:02:43 +00:00
External Bump isl to isl-0.18-768-g033b61ae 2017-07-04 15:54:11 +00:00
Support Introduce a hybrid target to generate code for either the GPU or CPU 2017-06-30 19:42:21 +00:00
Transform Introduce a hybrid target to generate code for either the GPU or CPU 2017-06-30 19:42:21 +00:00
CMakeLists.txt [Polly][NewPM] Reenable ScopPassManager unittest 2017-05-23 11:28:50 +00:00
Polly.cpp Drop '@brief' from doxygen comments 2016-09-02 06:33:33 +00:00