[all-commits] [llvm/llvm-project] 277b89: [DebugInfo] Correct out-of-bounds error message fo...
Benjamin Maxwell via All-commits
all-commits at lists.llvm.org
Thu Mar 30 08:10:04 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 277b8989794f6a915edb519cdf8c937ffbdc83eb
https://github.com/llvm/llvm-project/commit/277b8989794f6a915edb519cdf8c937ffbdc83eb
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2023-03-30 (Thu, 30 Mar 2023)
Changed paths:
M llvm/lib/DebugInfo/DWARF/DWARFFormValue.cpp
M llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
M llvm/test/tools/llvm-dwarfdump/X86/verify_strings.s
Log Message:
-----------
[DebugInfo] Correct out-of-bounds error message for DW_FORM_line_strp
DW_FORM_line_strp reads from the .debug_line_str section, but
previously the out-of-bounds error reported the .debug_line section.
This incorrect error message showed up when debugging an issue with
some invalid DWARF5 data.
The verify_string.s test has now been extended to check this (which
required a small change to the DWARF verifier to also look at
DW_FORM_line_strp).
Differential Revision: https://reviews.llvm.org/D146539
More information about the All-commits
mailing list