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
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to