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 the code you added that would prevent me from accidentally breaking it. Thanks, Jeffrey
Apparently Analagous Threads
- [LLVMdev] [PATCH][RFC] Bug #4406: stubs for external functions should be registered even if DlsymStubs are disabled
- [PATCH nbdkit] build: Use dlsym as sentinel function for -ldl.
- [LLVMdev] Relocation issue with jump tables in ELF object files on X86_64
- [LLVMdev] Relocation issue with jump tables in ELF object files on X86_64
- [LLVMdev] Why does the x86-64 JIT emit stubs for external calls?