llvm/lib/ExecutionEngine
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
..
Interpreter strength reduce a ton of type equality tests to check the typeid (Through 2009-10-05 05:54:46 +00:00
JIT Clean up the JITResolver stub/callsite<->function maps. 2009-10-19 18:49:59 +00:00
CMakeLists.txt Eliminate object-relinking support from CMake. Fixes PR 4429 and 2009-06-23 17:57:35 +00:00
ExecutionEngine.cpp Make the ExecutionEngine automatically remove global mappings on when their 2009-10-13 17:42:08 +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