[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 01:25:16 PST 2025
labath wrote:
> The current patch would not emit the attribute anymore for non-lldb tuned binaries (which we weren't doing anyway up until very recently). So the size regression would be mitigated there also
But, in that case, lldb (or at least explicit object arguments) would not work with gdb tuning, right? (I assume you're doing this because you need that in lldb). We could say that you need to use -glldb to get these (it wouldn't be the first feature to require it, though it may be the most visible, once people start using these), but it is a bit of an odd choice to make given that gcc (which tunes for gdb "by default") does emit them and maybe gdb also depends on them.
https://github.com/llvm/llvm-project/pull/124790
More information about the llvm-commits
mailing list