labath added a comment.

Having a setting for this would not be unreasonable.

But what about reusing an existing setting for this purpose? I thinking of the 
(global) `target.debug-file-search-paths` setting and the associated logic 
(`Symbols::LocateExecutableSymbolFile` and friends). If we used this mechanism, 
then dwo files would be found automatically, as (I believe) the directory 
containing the executable file is being always searched, even with an empty 
setting. And this function is already being used to locate the dwp file, which 
is why we are able to find the dwp file next to the executable, regardless of 
the cwd.


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

https://reviews.llvm.org/D97786

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

Reply via email to