[PATCH] D119674: [BOLT] Make BinaryFunction::eraseInvalidBBs() thread-safe

Maksim Panchenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 14 09:05:01 PST 2022


maksfb added a comment.

In D119674#3317894 <https://reviews.llvm.org/D119674#3317894>, @yota9 wrote:

> Is there a reason now to keep the DeletedBasicBlocks list at all?

These blocks are still referenced from `BasicBlockOffsets` that is used for debug info updates, so we cannot delete them until the function is destroyed.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119674



More information about the llvm-commits mailing list