summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
diff options
context:
space:
mode:
authorJinsong Ji <jji@us.ibm.com>2019-06-25 21:50:56 +0000
committerJinsong Ji <jji@us.ibm.com>2019-06-25 21:50:56 +0000
commitfee855b5bc1abe1f3f89e977ce4c81cf9bdbc2e4 (patch)
treeff2566663bd7c94f3c6bab1aeb22e5740477aeb6 /lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
parentc32d307a49f5255602e7543e64e6c38a7f536abc (diff)
downloadbcm5719-llvm-fee855b5bc1abe1f3f89e977ce4c81cf9bdbc2e4.tar.gz
bcm5719-llvm-fee855b5bc1abe1f3f89e977ce4c81cf9bdbc2e4.zip
[MachinePipeliner] Fix risky iterator usage R++, --R
When we calculate MII, we use two loops, one with iterator R++ to check whether we can reserve the resource, then --R to move back the iterator to do reservation. This is risky, as R++, --R may not point to the same element at all. The can cause wrong MII. Differential Revision: https://reviews.llvm.org/D63536 llvm-svn: 364353
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud