Displaying 1 result from an estimated 1 matches for "aaa809c".
2016 Nov 07
2
[llvm] To link or not to link
...le));
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 the IRCompileLayer. One question I'd have: How does that order matter?)
The problem I have with that conceptually is: The name seems t...