[Lldb-commits] [lldb] [LLDB] Export DWARF Parser symbols for external language plugins (PR #67851)

via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 2 10:11:57 PDT 2023


jimingham wrote:

So first off, the lldb_private API is not a stable API and will likely never be.  After all, it vends lots of llvm ADT types and other llvm & clang API's which are also not stable API's...  So anything which tends to making these API's seem like we're vending them as such, or that it's safe to distribute shared libraries that depend on them is a supported mode is going in the wrong direction.  If we want to make the plugin API a stable API for external customers, we'll have to do a bunch more work (including either getting by-in to make ABI stable versions of the underlying llvm/clang API's...)

If you are not planning to make an actual loadable plugin, which I am pretty sure we don't want to support with the lldb_private API's at this time, then I'm not clear why all this work is necessary, as opposed to just linking to the lldb internal headers & building against the .a files.

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


More information about the lldb-commits mailing list