Displaying 4 results from an estimated 4 matches for "checkfunctionson".
Did you mean:
checkfunctionsonly
2017 Jul 27
2
llvm 5.0 release rc1 : ExecutionEngine fatal error on MCJIT::getFunctionAddress
Hi everyone,
In llvm 4.0 the MCJIT::getFunctionAddress function return 0 (a null
address) when the symbol is not found :
*uint64_t MCJIT::getSymbolAddress(const std::string &Name, bool
CheckFunctionsOnly) { std::string MangledName; { raw_string_ostream
MangledNameStream(MangledName);
Mangler::getNameWithPrefix(MangledNameStream, Name, getDataLayout()); }
return findSymbol(MangledName, CheckFunctionsOnly).getAddress();}*
Now with the current implementation (llvm 5.0 rc1 tag) :...
2013 Dec 17
3
[LLVMdev] Trying to use patchpoint in MCJIT
...0000100eeb2d3
libjvm.dylib`llvm::MCJIT::generateCodeForModule(this=0x0000000106fa69a0,
M=0x0000000106fe6f30) + 323 at MCJIT.cpp:169
frame #20: 0x0000000100eec022
libjvm.dylib`llvm::MCJIT::getFunctionAddress(std::string const&)
[inlined] llvm::MCJIT::getSymbolAddress(this=0x0000000106fa69a0,
CheckFunctionsOnly=true) + 58 at MCJIT.cpp:279
frame #21: 0x0000000100eebfe8
libjvm.dylib`llvm::MCJIT::getFunctionAddress(this=0x0000000106fa69a0,
Name=0x00007fff5fbfe7b0) + 40 at MCJIT.cpp:295
...
So, I don't understand where could be my mistake?
Thank you in advance,
Gaƫl
--
------------------------...
2013 Dec 18
0
[LLVMdev] Trying to use patchpoint in MCJIT
...ib`llvm::MCJIT::generateCodeForModule(this=0x0000000106fa69a0,
> M=0x0000000106fe6f30) + 323 at MCJIT.cpp:169
> frame #20: 0x0000000100eec022
> libjvm.dylib`llvm::MCJIT::getFunctionAddress(std::string const&)
> [inlined] llvm::MCJIT::getSymbolAddress(this=0x0000000106fa69a0,
> CheckFunctionsOnly=true) + 58 at MCJIT.cpp:279
> frame #21: 0x0000000100eebfe8
> libjvm.dylib`llvm::MCJIT::getFunctionAddress(this=0x0000000106fa69a0,
> Name=0x00007fff5fbfe7b0) + 40 at MCJIT.cpp:295
> ...
>
> So, I don't understand where could be my mistake?
>
> Thank you in advanc...
2013 Dec 18
2
[LLVMdev] Trying to use patchpoint in MCJIT
...ib`llvm::MCJIT::generateCodeForModule(this=0x0000000106fa69a0,
> M=0x0000000106fe6f30) + 323 at MCJIT.cpp:169
> frame #20: 0x0000000100eec022
> libjvm.dylib`llvm::MCJIT::getFunctionAddress(std::string const&)
> [inlined] llvm::MCJIT::getSymbolAddress(this=0x0000000106fa69a0,
> CheckFunctionsOnly=true) + 58 at MCJIT.cpp:279
> frame #21: 0x0000000100eebfe8
> libjvm.dylib`llvm::MCJIT::getFunctionAddress(this=0x0000000106fa69a0,
> Name=0x00007fff5fbfe7b0) + 40 at MCJIT.cpp:295
> ...
>
> So, I don't understand where could be my mistake?
>
> Thank you in advance,...