HomePhabricator

[StructurizeCFG] Fix infinite loop in rebuildSSA.

Description

[StructurizeCFG] Fix infinite loop in rebuildSSA.

Michel Dänzer reported that r288051, "[StructurizeCFG] Use range-based
for loops", introduced a bug into rebuildSSA, wherein we were iterating
over an instruction's use list while modifying it, without taking care
to do this correctly.

Details

Committed
jlebarNov 29 2016, 1:49 PM
Parents
rL288199: Add to llvm-objdump the -no-leading-headers option with the use of the -macho…
Branches
Unknown
Tags
Unknown