Displaying 1 result from an estimated 1 matches for "stubaddr".
Did you mean:
stub_addr
2009 Jul 01
0
[LLVMdev] [PATCH][RFC] Bug #4406: stubs for external functions should be registered even if DlsymStubs are disabled
...that's done, though, the AssertingVH is still triggered on
destruction of the Module.
It turns out that the stub for the external "write" is not registered by
JITEmitter::AddStubToCurrentFunction() because DlsymStubs are not
enabled.
void JITEmitter::AddStubToCurrentFunction(void *StubAddr) {
if (!TheJIT->areDlsymStubsEnabled())
return;
It seems wrong. From include/llvm/ExecutionEngine/JITMemoryManager.h, my
understanding is that DlsymStubs are only necessary in certain
situations (like supporting relocations in a different process that the
one doing the JIT), and do not...