[all-commits] [llvm/llvm-project] 6d19c8: [lldb] Improve invalid DWARF DW_AT_ranges error re...
Jan Kratochvil via All-commits
all-commits at lists.llvm.org
Thu May 20 12:37:29 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6d19c84cd90369de5cda37f9a7a721e1cd9d0cb8
https://github.com/llvm/llvm-project/commit/6d19c84cd90369de5cda37f9a7a721e1cd9d0cb8
Author: Jan Kratochvil <jan.kratochvil at redhat.com>
Date: 2021-05-20 (Thu, 20 May 2021)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
M lldb/test/Shell/SymbolFile/DWARF/DW_AT_range-DW_FORM_sec_offset.s
M lldb/test/Shell/SymbolFile/DWARF/x86/debug_ranges-missing-section.s
M llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h
Log Message:
-----------
[lldb] Improve invalid DWARF DW_AT_ranges error reporting
In D98289#inline-939112 @dblaikie said:
Perhaps this could be more informative about what makes the range list
index of 0 invalid? "index 0 out of range of range list table (with
range list base 0xXXX) with offset entry count of XX (valid indexes
0-(XX-1))" Maybe that's too verbose/not worth worrying about since
this'll only be relevant to DWARF producers trying to debug their
DWARFv5, maybe no one will ever see this message in practice. Just
a thought.
Reviewed By: dblaikie
Differential Revision: https://reviews.llvm.org/D102851
More information about the All-commits
mailing list