search for: aredlsymstubsen

Displaying 2 results from an estimated 2 matches for "aredlsymstubsen".

2009 Jul 01
0
[LLVMdev] [PATCH][RFC] Bug #4406: stubs for external functions should be registered even if DlsymStubs are disabled
...ssertingVH 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 have to be enabled for the testcase to...
2009 Nov 08
0
[LLVMdev] Could you add tests for dlsym stubs?
Hi Nate. I've noticed that when I hardcode ExecutionEngine::areDlsymStubsEnabled() to always return false, check-lit still passes. I'm working on fixing a couple bugs in the JIT that involve changing how stubs are handled. I'm being careful around dlsym stubs, but I'm not perfect and may make a mistake. I'd really appreciate if you could add some tests for...