[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
Loading
Please sign in to comment