llvm-6502/lib/ExecutionEngine/MCJIT
Lang Hames 9a833c573d [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 .


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217291 91177308-0d34-0410-b5e6-96231b3b80d8
2014-09-05 23:38:35 +00:00
..
CMakeLists.txt Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
JITMemoryManager.cpp Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
LLVMBuild.txt
Makefile
MCJIT.cpp [MCJIT] Fix an iterator invalidation bug in MCJIT::finalizeObject. 2014-09-05 23:38:35 +00:00
MCJIT.h [MCJIT] Fix an iterator invalidation bug in MCJIT::finalizeObject. 2014-09-05 23:38:35 +00:00
SectionMemoryManager.cpp