[Lldb-commits] [lldb] [lldb/Plugins] Introduce Scripted Platform Plugin (PR #99814)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Tue Aug 6 11:21:32 PDT 2024
JDevlieghere wrote:
I haven't had a chance to review this, but I would appreciate if we can keep in mind how this might affect breaking up the platforms. Right now, the Platform abstraction covers two concepts:
1. How you connect to a platform and do things like transfer files, list processes, etc.
2. How to debug on a certain platform, which includes things like SDK, shared cache, etc
We ran into this problem when adding the (downstream) `device` command. We had new way to talk to a device (using a private framework) and I really didn't want to create a new macOS, iOS, watchOS, etc platform just for that. So for Xcode 16 we worked around it, but I really want to go back and do it the right way in the near future. I think it should be possible to detangle these two concepts so I want to make sure this patch doesn't make that harder.
https://github.com/llvm/llvm-project/pull/99814
More information about the lldb-commits
mailing list