diff options
author | Lang Hames <lhames@gmail.com> | 2014-09-05 23:38:35 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2014-09-05 23:38:35 +0000 |
commit | 018452e6bc79f5f7599ee9df0ba87fa90516081b (patch) | |
tree | 9dcddc612724433e9719e89a6f89bd19fa86ab55 /lldb/scripts/Python/python-wrapper.swig | |
parent | f5f9a836682d297f2caeb92f5a6c01b58ea839b3 (diff) | |
download | llvm-018452e6bc79f5f7599ee9df0ba87fa90516081b.zip llvm-018452e6bc79f5f7599ee9df0ba87fa90516081b.tar.gz llvm-018452e6bc79f5f7599ee9df0ba87fa90516081b.tar.bz2 |
[MCJIT] Fix an iterator invalidation bug in MCJIT::finalizeObject.
The finalizeObject method calls generateCodeForModule on each of the currently
'added' objects, but generateCodeForModule moves objects out of the 'added'
set as it's called. To avoid iterator invalidation issues, the added set is
copied out before any calls to generateCodeForModule.
This should fix http://llvm.org/PR20851 .
llvm-svn: 217291
Diffstat (limited to 'lldb/scripts/Python/python-wrapper.swig')
0 files changed, 0 insertions, 0 deletions