[LLVMdev] me being stupid: me vs the llvm codebase...

Gordon Henriksen
Tue, 23 Oct 2007 23:26:38 -0000

On Oct 23, 2007, at 18:19, BGB wrote:

> On Oct 23, 2007, at 11:45, Gordon Henriksen wrote:
>
>> Generally speaking, LLVM neither helps nor hinders here. Maybe
>> someone will follow up with whether the JIT uses stub functions
>> which would enable dynamic relinking If not, it would be a
>> straightforward, if platform-specific, feature to add.
>
> I don't use proxy or stub functions, I relink them...

I misspoke. See here:

http://llvm.org/doxygen/classllvm_1_1JIT.html#a7

Relinking the function as you describe is risky in the case that the
address of the function has been taken. LLVM's present approach is
general.

— Gordon

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20071023/aa6cb17a/attachment.html>