summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/loop-info-asan.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't keep stale pointers to LoopInfos.Aaron Ballman2019-08-191-0/+16
CGLoopInfo was keeping pointers to parent loop LoopInfos, but when the loop info vector grew, it reallocated the storage and invalidated all of the parent pointers, causing use-after-free. Manage the lifetimes of the LoopInfos separately so that the pointers aren't stale. Patch by Bevin Hansson. llvm-svn: 369259
OpenPOWER on IntegriCloud