summaryrefslogtreecommitdiff
path: root/debuginfo-tests/dbg-arg.c
diff options
context:
space:
mode:
authorDmitry Mikulin <dmitry.mikulin@sony.com>2017-11-17 00:30:24 +0000
committerDmitry Mikulin <dmitry.mikulin@sony.com>2017-11-17 00:30:24 +0000
commit98f78753784a6da59ea95694e230107d16c784d5 (patch)
treea9d3e0e659991ee762354af9e38c224dce17500f /debuginfo-tests/dbg-arg.c
parentbcf7b1d4537930ce2c2c1aa037c52e52bed4108d (diff)
Current implementation of Value::replaceUsesExceptBlockAddr() uses UseList
iterator to walk the list which keeps changing inside the loop. When the UseList contains several uses with the same user, we end processing the same user more than once, which leads to an assert. With this fix, unique users are saved and processed later to avoid processing duplicates. Differential Revision: https://reviews.llvm.org/D39864
Diffstat (limited to 'debuginfo-tests/dbg-arg.c')
0 files changed, 0 insertions, 0 deletions