llvm-6502/lib/ExecutionEngine/JIT
Jeffrey Yasskin 23e5fcfec4 Fix http://llvm.org/PR4822: allow module deletion after a function has been
compiled.

When functions are compiled, they accumulate references in the JITResolver's
stub maps. This patch removes those references when the functions are
destroyed.  It's illegal to destroy a Function when any thread may still try to
call its machine code.

This patch also updates r83987 to use ValueMap instead of explicit CallbackVHs
and fixes a couple "do stuff inside assert()" bugs from r84522.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84975 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-23 22:37:43 +00:00
..
CMakeLists.txt De-bork CMake build 2009-10-21 06:01:54 +00:00
Intercept.cpp
JIT.cpp Implement the JIT side of the GDB JIT debugging interface. To enable this 2009-09-20 23:52:43 +00:00
JIT.h Keep track of stubs that are created. This fixes PR5162 and probably PR4822 and 2009-10-13 21:32:57 +00:00
JITDebugRegisterer.cpp Random include cleanup. 2009-10-22 21:49:41 +00:00
JITDebugRegisterer.h Fix a struct/class mismatch. 2009-09-23 11:48:57 +00:00
JITDwarfEmitter.cpp Register the MachineModuleInfo for the ARM JIT, and update JITDwarfEmitter to 2009-09-21 05:58:35 +00:00
JITDwarfEmitter.h Implement the JIT side of the GDB JIT debugging interface. To enable this 2009-09-20 23:52:43 +00:00
JITEmitter.cpp Fix http://llvm.org/PR4822: allow module deletion after a function has been 2009-10-23 22:37:43 +00:00
JITMemoryManager.cpp Verify that the function and exception table have been allocated 2009-10-22 14:35:57 +00:00
Makefile
OProfileJITEventListener.cpp Fix OProfileJITEventListener after r84054 renamed CompileUnit to Scope. 2009-10-22 20:57:35 +00:00
TargetSelect.cpp