1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/lib/ExecutionEngine
Jeffrey Yasskin 8ff8b897a5 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.

llvm-svn: 84975
2009-10-23 22:37:43 +00:00
..
Interpreter Remove AllocationInst. Since MallocInst went away, AllocaInst is the only subclass of AllocationInst, so it no longer is necessary. 2009-10-23 21:09:37 +00:00
JIT Fix http://llvm.org/PR4822: allow module deletion after a function has been 2009-10-23 22:37:43 +00:00
CMakeLists.txt Eliminate object-relinking support from CMake. Fixes PR 4429 and 2009-06-23 17:57:35 +00:00
ExecutionEngine.cpp Fix http://llvm.org/PR4822: allow module deletion after a function has been 2009-10-23 22:37:43 +00:00
ExecutionEngineBindings.cpp Add EngineBuilder to ExecutionEngine in favor of the five optional argument EE::create(). 2009-07-18 00:42:18 +00:00
Makefile Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00