[Lldb-commits] [lldb] [lldb] Add LLDB_ENABLE_DYNAMIC_SCRIPTINTERPRETERS option (PR #196110)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed May 6 12:46:00 PDT 2026


JDevlieghere wrote:

> Do you have plans to change how this works? Exporting _all_ the symbols to have this work is a bit extreme.
> 
> I'm alright with this conceptually, just seems a bit broad.

Yeah, that's a good callout. Right now, I'm reusing `LLDB_EXPORT_ALL_SYMBOLS` because the infrastructure already exists. The export surface should be as minimal as possible. For the Python 2 -> 3 migration we had a manual export list that was kept up to date by hand, but that doesn't scale. It should be fairly straightforward to generate the export list programmatically at build-time. I have a PoC for that, but I want the Python linkage stuff wrapped up first.

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


More information about the lldb-commits mailing list