[llvm] [llvm][DebugInfo] Encode DW_AT_object_pointer on method declarations with DW_FORM_implicit_const (PR #124790)

Pavel Labath via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 29 02:20:30 PST 2025


labath wrote:

I wouldn't say I am opposed to that (I don't consider myself a decision maker here), but emitting a (non-standard!) form that gdb doesn't understand doesn't sound that much better than not emitting anything. It might be different if we went to gdb and asked them to implement it, but I don't think anyone's planning to do that.

I guess my preferred solution would be to emit the standard form for gdb tuning, and use the non-standard thing for lldb (assuming it doesn't break gdb catastrophically), and also start using lldb tuning for Google. I don't know how hard the last part would be, but I can try to find out.

Anyway, I think I've said enough now. Let's see what others have to say to all of that. :)

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


More information about the llvm-commits mailing list