[Lldb-commits] [PATCH] D15152: Change Platform::LoadImage to copy the file to the remote platform

Tamas Berghammer via lldb-commits lldb-commits at lists.llvm.org
Thu Dec 3 04:11:27 PST 2015


tberghammer added a comment.

What is the opinion about adding just a boolean flag to specify if the path provided is a local path or a remote path? In case it is a remote path (will be the default to keep current behavior) then we don't do any copying and if it is a local path then we copy the library over to the current working directory.

On Linux it isn't matter where we install the shared library as we can give full path to dlopen and I think it should be true for all other system so I don't see any advantage of specifying the install directory.

Note: I also plan to add a new method to the SB API where we can specify the same information.


http://reviews.llvm.org/D15152





More information about the lldb-commits mailing list