[Lldb-commits] [lldb] [lldb] Use correct path for debugserver (PR #131609)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 2 06:44:33 PDT 2025


labath wrote:

Long term, I think we should have a different way to set/compute/retrieve these paths, but locally, what you're doing is correct. lldb-server doesn't have a way to compute the "shared library directory", nor does it have any reason to do that, so returning an empty file spec instead of a bogus value is definitely an improvement.

I'm just thinking about whether there's a way to test this. You've said that there's a test for the scenario where lldb-server and lldb are not in the same directory. Which one is it? Would it be possible to use a similar approach to test this scenario as well?

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


More information about the lldb-commits mailing list