summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorDaniel Sanders <daniel_l_sanders@apple.com>2019-06-17 20:56:31 +0000
committerDaniel Sanders <daniel_l_sanders@apple.com>2019-06-17 20:56:31 +0000
commit184c8ee920859edde121e49fa55f93ae5c73cf79 (patch)
tree5d74d9f4774d6dd36dafd6ee3bad1d09cb5e0bcb /lldb/packages/Python/lldbsuite/test
parent17bd226b6a1aa90c8b9425e509a59da138d0e269 (diff)
downloadbcm5719-llvm-184c8ee920859edde121e49fa55f93ae5c73cf79.tar.gz
bcm5719-llvm-184c8ee920859edde121e49fa55f93ae5c73cf79.zip
[globalisel] Fix iterator invalidation in the extload combines
Summary: Change the way we deal with iterator invalidation in the extload combines as it was still possible to neglect to visit a use. Even worse, it happened in the in-tree test cases and the checks weren't good enough to detect it. We now take a cheap copy of the use list before iterating over it. This prevents iterator invalidation from occurring and has the nice side effect of making the existing schedule-for-erase/schedule-for-insert mechanism moot. Reviewers: aditya_nandakumar Reviewed By: aditya_nandakumar Subscribers: rovka, kristof.beyls, javed.absar, volkan, Petar.Avramovic, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D61813 llvm-svn: 363616
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud