Displaying 2 results from an estimated 2 matches for "simpleorcjit".
2018 May 16
1
LLVM JIT 3.9 vs 6.0: How to emitAndFinalize multiple modules correctly?
Hi all,
I am having hard time figuring out how I should use the API for JIT in LLVM 6.
In LLVM 3.9 I am used to adding all objects at once and
emitAndFinalizing them all:
handle = objectLayer.addObjectSet(objectFiles, memoryManager, resolver);
objectLayer.emitAndFinalize(handle);
In LLVM 6.0 the objects are added one by one:
auto handle = objectLayer.addObject(objectFile, resolver).get();
2016 Apr 02
2
getSymbolAddressInProcess returning null
Tried that, still didn't work. Then I tried making a direct API call,
GetProcAddress(GetModuleHandle(0),"foo")
And this works if and only if __declspec(dllexport) is supplied. So it
looks like we were both right.
On Sat, Apr 2, 2016 at 9:29 AM, NAKAMURA Takumi <geek4civic at gmail.com>
wrote:
> Have you tried to add dllexport?
>
> On Sat, Apr 2, 2016 at 4:23 PM