1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/unittests
Jeffrey Yasskin c5bf1f8ad9 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.

llvm-svn: 84651
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