walter-erquinigo wrote:

@jimingham , indeed, I don't want to have a plugin that could be loadable by 
any build of lldb. The Mojo SDK is distributing already its own build of 
vanilla lldb along with the mojo plugin that is loaded at runtime and that 
links correctly with that lldb.
I initially tried linking the .a files, but that lead to a not short list of 
dependencies that included clang and other libraries that I also needed to link 
against, which was not very clean and could lead to potential issues on 
windows, where the exports file has a limited size. In the end after all the 
discussion, I think that the cleanest solution that could benefit other plugin 
developers is to allow specifying a custom exports file that can be used 
instead of `third-party/llvm-project/lldb/source/API/liblldb-private.exports` 
offering more control on what to export.

https://github.com/llvm/llvm-project/pull/67851
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to