[Lldb-commits] [PATCH] D97786: LLDB: Use path relative to binary, not relative to debugger CWD, for finding .dwo files.

Jim Ingham via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 2 11:44:03 PST 2021


jingham added a comment.

While next to the binary seems like a better guess than the cwd, it does seem awkward that if the binary & dwo's aren't in the same place, you have to move files to get that heuristic to work, whereas you could just "cd" into wherever the dwo's got dumped to make the cwd version work.

I'm don't really have a strong opinion one way or the other.  But this does seem like the sort of thing that should be helped out by one of the debug info path settings.  That way the user could point lldb at the dwo's no matter where they ended up.


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

https://reviews.llvm.org/D97786



More information about the lldb-commits mailing list