llvm-project/polly/lib
Michael Kruse 0b56681d21 [ScopDetection] Fix use-after-free.
removeCachedResults deletes the DetectionContext from
DetectionContextMap such that any it cannot be used anymore.
Unfortunately invalid<ReportUnprofitable> and RejectLogs.insert still do
use it. Because the memory is part of a map and not returned to to the
OS immediatly, such that the observable effect was only a memory leak
due to reference counters not decreased when the second call to
removeCachedResults does not remove the DetectionContext because because
it already has been removed.

Fix by not removing the DetectionContext prematurely. The second call to
removeCachedResults will handle it anyway.

llvm-svn: 262235
2016-02-29 16:54:18 +00:00
..
Analysis [ScopDetection] Fix use-after-free. 2016-02-29 16:54:18 +00:00
CodeGen IslAst: Expose run-time check generation as individual function 2016-02-26 12:59:38 +00:00
Exchange Do not check JSON alignment of scalar accesses 2016-01-15 16:49:33 +00:00
External Update to isl-0.16.1-68-g8fad211 2016-02-26 11:35:12 +00:00
JSON Added arcanist linters and cleaned errors and warnings 2014-08-18 00:40:13 +00:00
Support [FIX] Compare SCEVs not values during SCEV expansion 2016-02-21 16:36:00 +00:00
Transform Adapt to LLVM head, again 2016-02-25 17:54:42 +00:00
CMakeLists.txt Properly build shared libraries if LLVM_LINK_LLVM_DYLIB is enabled. 2016-02-03 16:29:04 +00:00
Polly.cpp Move Pass registration into polly library 2014-03-19 17:54:23 +00:00