[llvm] [Orc] Initial version of ELFSymtabStaticGenerator (PR #135591)

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Sun May 11 16:49:36 PDT 2025


lhames wrote:

Hi @stmonty,

The usual way to make such symbols available is to dynamically export them by using `-Wl,-export-dynamic`, or `--export-dynamic-symbol-list`.

By using the dynamic symbol table rather than the static table, ORC and `dlfcn.h` will agree on the set of symbols exported from precompiled code. It also means that you can run `strip` on your binary to reduce the size without affecting symbol lookup in the JIT.

https://github.com/llvm/llvm-project/pull/135591


More information about the llvm-commits mailing list