diff options
author | Michael Kruse <llvm@meinersbur.de> | 2018-04-10 01:20:41 +0000 |
---|---|---|
committer | Michael Kruse <llvm@meinersbur.de> | 2018-04-10 01:20:41 +0000 |
commit | db6f71e48db408f33a94bacb7289e14325de8ea1 (patch) | |
tree | 56176a6e8a442c2efb1b2688247c99afbc91d115 /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
parent | 37b1dd62bb253ac74de840781c2c68a57edffe50 (diff) | |
download | bcm5719-llvm-db6f71e48db408f33a94bacb7289e14325de8ea1.tar.gz bcm5719-llvm-db6f71e48db408f33a94bacb7289e14325de8ea1.zip |
[ScopInfo] Avoid iterator invalidation.
Commit r329640 introduced the removal of all MemoryAccesses of a Scop.
It accidentally continued iterating over a vector whose iterators
have been invalidated by a MemoryAccess removal.
Make a copy of the MemoryAccesses to remove to iterate over while
removing them.
llvm-svn: 329653
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions