[llvm-commits] JIT memory manager: Correlate stubs with functions

Nicolas Geoffray nicolas.geoffray at lip6.fr
Tue Apr 15 06:01:06 PDT 2008


Hi everyone,

The attached patch adds a new Function parameter to startFunctionStub, 
which is the function that the generated stub will call. The motivation 
behind is that a custom JITMemoryManager may want to allocate stubs and 
functions on a per-module basis. For example Module A is given a 20MB, 
Module B is given 10MB, etc. And if a function from A calls a function 
from B, and a stub is generated, it should be allocated on behalf of B.

OK to commit?

Thx,
Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: function-stub.patch
Type: text/x-patch
Size: 20170 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20080415/85014ac2/attachment.bin>


More information about the llvm-commits mailing list