summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/plugins/commands/plugin.cpp
diff options
context:
space:
mode:
authorTim Shen <timshen91@gmail.com>2016-08-22 21:59:26 +0000
committerTim Shen <timshen91@gmail.com>2016-08-22 21:59:26 +0000
commit608ca2504ac1865227e892dee2af4bd64870dc31 (patch)
tree7e344a20e634149102bc18d3003fbd65853da2d4 /lldb/packages/Python/lldbsuite/test/functionalities/plugins/commands/plugin.cpp
parent25f02cfc52c7adfa76a45bc6a8063a675a5e6c5d (diff)
downloadbcm5719-llvm-608ca2504ac1865227e892dee2af4bd64870dc31.tar.gz
bcm5719-llvm-608ca2504ac1865227e892dee2af4bd64870dc31.zip
[ADT] Actually mutate the iterator VisitStack.back().second, not its copy.
Summary: Before the change, *Opt never actually gets updated by the end of toNext(), so for every next time the loop has to start over from child_begin(). This bug doesn't affect the correctness, since Visited prevents it from re-entering the same node again; but it's slow. Reviewers: dberris, dblaikie, dannyb Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D23649 llvm-svn: 279482
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/plugins/commands/plugin.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud