[Lldb-commits] [lldb] [lldb] Add more ways to find the .dwp file. (PR #81067)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Fri Feb 9 16:31:13 PST 2024


clayborg wrote:

I am fine with telling people what to do and giving them a golden path to what is easiest for our debuggers. And I will suggest to everyone that they use `.debug` and `.dwp`, but if we want to only support this, this leaves the downloading of the `.debug` file requiring a rename from `.dwp` to `.debug.dwp` in order for it to work for people. So then everything in this patch should be supported to allow loading the `.debug` file with a `.dwp` like we will encourage people to do.

It would also be nice if we do have a ".debug" file that has debug info only, it would be nice to allow it and the ".dwp" file to be combined into a single file. There is no reason for them to be separate anymore once we have `a.out` stripped, it would be nice to only require "a.out.debug" which contains the ".dwp" sections inside of it already instead of requiring people to have two files needed for debug info.


https://github.com/llvm/llvm-project/pull/81067


More information about the lldb-commits mailing list