[PATCH] D72529: [SCCIterator] Fix use-after-free

Keno Fischer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 15 10:03:14 PST 2020


loladiro added a comment.

Jinx ;) This took quite some tracking down on our side - too bad we didn't wait a couple of weeks. I do still like the iterator interface better, since it checks against exactly this kind of issue in debug mode. It also avoids the second lookup for the erase. I'll rebase this on top of master.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72529/new/

https://reviews.llvm.org/D72529





More information about the llvm-commits mailing list