[Lldb-commits] [PATCH] D131212: Allow host platform to use sdk sysroot directory option when resolving shared modules

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Aug 9 07:42:29 PDT 2022


labath added a comment.

In D131212#3708426 <https://reviews.llvm.org/D131212#3708426>, @trevorj wrote:

>> It does not. You _can_ connect to a remote server if you want to, but you don't have to. Many workflows need to select a remote platform to let LLDB know how to locate files when doing symbolication and when loading core files, so you should just be able to use the workflow I suggested that was based on Pavel's comments. Does that work for you?
>
> Trying it out, that worked to load my shared objects!  I was completely wrong about what remote-linux was then, sorry!
>
> Curious, why does the `host` platform support being sent a sysroot parameter when selecting it if it doesn't use it?

Because noone made it not do that? :)

I think it would be a good patch to make that command produce an error.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131212/new/

https://reviews.llvm.org/D131212



More information about the lldb-commits mailing list