summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-10-18 16:57:32 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-10-18 16:57:32 +0000
commit12be639dfcc17a10957f79b0e650ec7455cf50f6 (patch)
treecaddbf225fd10a266a95b52eef4c1c2b877e0f7a /lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h
parenta0ca6601bc814e4b248eb473e7cfcd91844ccee2 (diff)
PR14021: Copy lookup results to ensure safe iteration.
Within the body of the loop the underlying map may be modified via Sema::AddOverloadCandidate -> Sema::CompareReferenceRelationship -> Sema::RequireCompleteType to avoid the use of invalid iterators the sequence is copied first. A reliable, though large, test case is available - it will be reduced and committed shortly. Patch by Robert Muth. Review by myself, Nico Weber, and Rafael Espindola. llvm-svn: 166188
Diffstat (limited to 'lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h')
0 files changed, 0 insertions, 0 deletions