llvm/unittests
Jeffrey Yasskin 1e86132122 Move the Function*->allocated blocks map from the JITMemoryManager to the
JITEmitter.

I'm gradually making Functions auto-remove themselves from the JIT when they're
destroyed. In this case, the Function needs to be removed from the JITEmitter,
but the map recording which Functions need to be removed lived behind the
JITMemoryManager interface, which made things difficult.

This patch replaces the deallocateMemForFunction(Function*) method with a pair
of methods deallocateFunctionBody(void *) and deallocateExceptionTable(void *)
corresponding to the two startFoo/endFoo pairs.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84651 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-20 18:13:21 +00:00
..
ADT Pacify the compiler (signed with unsigned comparison) by making 2009-10-13 09:23:11 +00:00
ExecutionEngine Move the Function*->allocated blocks map from the JITMemoryManager to the 2009-10-20 18:13:21 +00:00
Support Add raw_ostream::write_escaped, for writing escaped strings. 2009-10-17 20:43:08 +00:00
Transforms Introduce and use convenience methods for getting pointer types 2009-10-06 15:40:36 +00:00
VMCore Update unittests for MDNode uniquing disable. 2009-09-07 04:19:02 +00:00
Makefile New unit test for the cloning module, which so far only covers cloning of 2009-09-27 21:39:46 +00:00
Makefile.unittest Try to fix unit test linking on linux ... 2009-10-02 19:52:33 +00:00