[Lldb-commits] [lldb] [llvm] [lldb] Prefer `DW_AT_bit_size` over `DW_AT_byte_size` in `GetDIEBitSizeAndSign` (PR #137123)
Tom Tromey via lldb-commits
lldb-commits at lists.llvm.org
Thu Apr 24 06:32:11 PDT 2025
tromey wrote:
> `DW_AT_bit_size` will be ignored by lldb if `DW_AT_byte_size` is available and non-zero. Unfortunately, gdb crashes when `DW_AT_byte_size` does not exist or is set to zero. So I decided to change lldb to match gdb's behavior :(
Can you file a gdb bug report with an executable showing this behavior? Or even just email it to me?
https://github.com/llvm/llvm-project/pull/137123
More information about the lldb-commits
mailing list