Displaying 3 results from an estimated 3 matches for "globalmappinglay".
Did you mean:
globalmappinglayer
2017 Sep 22
2
Question regarding GlobalMappingLayer in LLVM 5
Hi,
I'm attempting to port some code which uses the GlobalMappingLayer in the Orc JIT. This code worked fine in LLVM 4, but I'm getting a compile error with LLVM 5. I think the problem is that this layer hasn't been modified to account for some of the changes made in LLVM 5, but I wanted to make sure that I wasn't missing something.
I have code which...
2017 Sep 28
0
Question regarding GlobalMappingLayer in LLVM 5
...lieve you should be able to fix the
signatures in your copy and everything should "just work".
Cheers,
Lang.
On Fri, Sep 22, 2017 at 2:04 PM, Brian Kahne via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Hi,
>
>
>
> I’m attempting to port some code which uses the GlobalMappingLayer in the
> Orc JIT. This code worked fine in LLVM 4, but I’m getting a compile error
> with LLVM 5. I think the problem is that this layer hasn’t been modified
> to account for some of the changes made in LLVM 5, but I wanted to make
> sure that I wasn’t missing something.
>
>
&...
2016 Nov 07
2
[llvm] To link or not to link
...ider:
extern "C" { void somefunc() {} }
…
auto llvmfunc = llvm::Function::Create(type, llvmFunction::PrivateLinkage, "bla", module));
executionengine.addGlobalMapping(llvmfunc, &somefunc);
// now I have llvmfunc to work with and don't need to consider anything else
The GlobalMappingLayer class seems to provide the functionality I want. I oriented myself on the example from https://github.com/AndySomogyi/cayman/blob/aaa809c/src/llvm_orc_initial.cpp#L1172 (just oriented, because at least on 3.9, I can not stack the GlobalMappingLayer on the ObjectLinkingLayer. I have to put it onto...