[Lldb-commits] [PATCH] D70134: dotest: Add a way for the run_to_* helpers to register dylibs

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 12 15:57:04 PST 2019


clayborg added a comment.

In D70134#1742647 <https://reviews.llvm.org/D70134#1742647>, @jingham wrote:

> This is fine.
>
> I wondered a bit about whether it would be generally useful to add the 'dylibs that have to be copied' to the SBLaunchInfo?  It has some other platform'y like things.  I'm not strongly promoting the idea, just thought I'd float it.


You can currently do this by setting the platform file spec for a SBModule. If that is set, then the target will upload the module to that path. The main executable always goes to the remote working directory if its platform file spec isn't set, but any module can set this manually. The register shared libraries code sets the platform path.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70134





More information about the lldb-commits mailing list