1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/lib/ExecutionEngine/JIT
Jeffrey Yasskin fdb36c1a29 Clean up the JITResolver stub/callsite<->function maps.
The JITResolver maps Functions to their canonical stubs and all callsites for
lazily-compiled functions to their target Functions. To make Function
destruction work, I'm going to need to remove all callsites on destruction, so
this patch also adds the reverse mapping for that.

There was an incorrect assumption in here that the only stub for a function
would be the one caused by needing to lazily compile it, while x86-64 far calls
and dlsym-stubs could also cause such stubs, but I didn't look for a test case
that the assumption broke.

This also adds DenseMapInfo<AssertingVH> so I can use DenseMaps instead of
std::maps.

llvm-svn: 84522
2009-10-19 18:49:59 +00:00
..
CMakeLists.txt Update cmake. 2009-09-21 08:08:29 +00:00
Intercept.cpp
JIT.cpp
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 Use Compiler.h macro instead of __attribute__. 2009-09-22 07:38:23 +00:00
JITDebugRegisterer.h Fix a struct/class mismatch. 2009-09-23 11:48:57 +00:00
JITDwarfEmitter.cpp
JITDwarfEmitter.h
JITEmitter.cpp Clean up the JITResolver stub/callsite<->function maps. 2009-10-19 18:49:59 +00:00
JITMemoryManager.cpp
MacOSJITEventListener.cpp
Makefile
OProfileJITEventListener.cpp Fix compile error as debug interface changed. 2009-09-30 04:50:26 +00:00
TargetSelect.cpp