Displaying 4 results from an estimated 4 matches for "chengzhu".
2014 Sep 11
2
[LLVMdev] Fail to load a pointer to a function inside MCJIT-ed code when it is reload from ObjectCache
...(2) The
> JIT is handling on-disk objects differently from in-memory ones. The first
> option is more likely.
>
> It would be helpful if you could attach the object that was stored in your
> cache.
>
> Cheers,
> Lang.
>
> On Thu, Sep 11, 2014 at 10:58 AM, Cheng Zhu <chengzhu at gmail.com> wrote:
>
>> Hi, All
>>
>> I have a problem to reuse mcjit jitted code loaded from ObjectCache from
>> a file. In the first run, I use MCJIT generate function JittedOpExpr object
>> code as following and it runs OK. 0x7fe4801fa1f8 at instruction
>...
2014 Sep 18
2
[LLVMdev] How to cache MCJIT compiled object into memory?
Hi, All
I m not sure if this question has been asked or not. I'd like cache the
MCJIT compiled object into memory buffer so it can be reused later. I
followed the Andy Kaylor's example wrote an inherited class from
ObjectCache and use raw_fd_ostream to save the cache and load the cache
from a file. I checked raw_ostream and its subclass, maybe I am wrong but I
don't see one is fit to
2014 Sep 11
2
[LLVMdev] Fail to load a pointer to a function inside MCJIT-ed code when it is reload from ObjectCache
Hi, All
I have a problem to reuse mcjit jitted code loaded from ObjectCache from a
file. In the first run, I use MCJIT generate function JittedOpExpr object
code as following and it runs OK. 0x7fe4801fa1f8 at instruction
0x00007fe4cc6c2014 points to 0x69382E which is the beginning of ExecEvalVar
function. Then I save the object code into a file after implementing
notifyObjectCompiled method.
2015 Jan 05
2
[LLVMdev] LLVM linkage error - Program used external function 'foo' which could not be resolved!
Hi, All
I got a linkage error as indicated in the subject line. Any suggestion?
I created a call builder.CreateCall2(foo, p1, p2) in a module. foo is
a Function* generated by module->getOrInsertFunction("foo",
prototype). foo is defined outside of this module, and in the dump of
the module, I see "declare i64 @foo(xxx, xxx)". The error happens
during link time, it seems