llvm-6502/lib/ExecutionEngine/JIT
Jeffrey Yasskin ebbcef945d 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84522 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-19 18:49:59 +00:00
..
CMakeLists.txt Update cmake. 2009-09-21 08:08:29 +00:00
Intercept.cpp remove some uses of llvm/Support/Streams.h 2009-08-23 08:43:55 +00:00
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 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 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 Clean up the JITResolver stub/callsite<->function maps. 2009-10-19 18:49:59 +00:00
JITMemoryManager.cpp Initialize the PoisonMemory member before initializing 2009-08-27 01:25:57 +00:00
MacOSJITEventListener.cpp Remove Value::getName{Start,End}, the last of the old Name APIs. 2009-07-26 09:48:23 +00:00
Makefile Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
OProfileJITEventListener.cpp Fix compile error as debug interface changed. 2009-09-30 04:50:26 +00:00
TargetSelect.cpp Improve JIT error message for users crazy enough to use -march with JIT, and 2009-09-08 23:32:35 +00:00