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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to