[Lldb-commits] [lldb] Add more ways to find the .dwp file. (PR #81067)
David Blaikie via lldb-commits
lldb-commits at lists.llvm.org
Thu Feb 8 09:36:01 PST 2024
dwblaikie wrote:
FWIW, I think we should be opinionated (& consistent with whatever gdb does, if it has some precedent here - if it is less opinionated, then maybe we have to be accepting) when it comes to whether x.debug goes with x.dwp or x.debug.dwp - we shouldn't support both unless there's some prior precedent that's unavoidable to support. It'd be better for everyone if there was one option we encourage people to follow. (so I think we shouldn't support (2) and (3) if we can help it - we should pick one)
I'm not sure I understand the "lldb loads <exe>.debug and needs to find <exe>.dwp" case. the .debug file usually only has the debug info, not the executable code, so you can't load it directly, right? (see the documentation in https://sourceware.org/gdb/current/onlinedocs/gdb.html/Separate-Debug-Files.html - `objcopy --only-keep-debug foo foo.debug`).
https://github.com/llvm/llvm-project/pull/81067
More information about the lldb-commits
mailing list