[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 00:10:42 PST 2025
labath wrote:
> @labath - any thoughts on this?
Maybe?
- I am wondering how other debuggers (gdb mainly) will react to the new attribute. It would be great if "tuning" for lldb didn't completely break other debuggers as well
- speaking of tuning, I believe we currently don't "tune" Google binaries for lldb, so if this is conditioned on -glldb and we still emit the long attribute for gdb, then this will not change the size difference you were seeing. We probably should start tuning for lldb, but I don't know what will all of that cause (in particular it could cause a size *increase* due to some extra attributes emitted this way, but I don't think the difference should be big). I don't think this is Michael's problem, I'm just saying...
https://github.com/llvm/llvm-project/pull/124790
More information about the llvm-commits
mailing list