MaskRay wrote: Agreed. Should just use .dynsym , which cannot be stripped by llvm-strip/GNU strip. (Additionally, `/proc/self/exe` works on Linux but probably not other ELF OSes) https://github.com/llvm/llvm-project/pull/135591