[Lldb-commits] [lldb] [LLDB][NFC] Remove Debugger dependency in SystemLifetimeManager (PR #134383)
Dmitry Vasilyev via lldb-commits
lldb-commits at lists.llvm.org
Fri Apr 4 09:34:58 PDT 2025
slydiman wrote:
> It seems like we should address this issue by first fixing the existing layering violations, then introducing more layering for `lldb-server` so that we bring the granularity to the library level, not the individual object file (i.e. source file) level which is too granular.
I don't see much difference between using libraries or a number of object file. If the code references a function, we need to provide that function anyway, whether it's a library or a separate object file. To break dependency we need to separate the interface and the implementation. The class Debugger is used directly in mane places. We don't need the Debugger plug-in. But we need to define DebuggerInterface and use it instead.
https://github.com/llvm/llvm-project/pull/134383
More information about the lldb-commits
mailing list