trevorj added a comment.

@JDevlieghere Sure I can provide more context, let me know if you want me to 
clarify anything!

I'm trying to debug production coredumps on a development machine using a 
sysroot folder tree that contains the required shared objects required.

In gdb, I use this via `set sysroot`.
In LLDB, I assume I should do something like `platform select host -S 
/path/to/sysroot`.

After doing either of these I would expect the attempted paths for loading 
shared objects will be prefixed by the configured sysroot.
Unfortunately, when using the `host` platform, it currently ignores the sysroot 
configuration option when trying to load shared objects.
This breaks the `sysroot` setting on the `host` platform.

If I'm doing something wrong feel free to correct me!

Side note, I believe these lines would be okay to remove because it falls back 
to normal resolution.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131212

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to