[BOLT] Fix CFG in BinaryFunction::eraseInvalidBBs()
Summary: When we erase invalid/unreachable basic blocks, we have to remove them from a list of predecessors of regular blocks, otherwise the CFG will be left in a broken state containing references to removed basic blocks. (cherry picked from FBD7464292)
Loading
Please sign in to comment