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

Reply via email to