[PATCH] D39294: [llvm-dwarfdump] - Teach verifier to report broken DWARF expressions.

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 25 13:52:43 PDT 2017


JDevlieghere added inline comments.


================
Comment at: lib/DebugInfo/DWARF/DWARFVerifier.cpp:405
       if (*SectionOffset >= DObj.getLineSection().Data.size()) {
         ++NumErrors;
         error() << "DW_AT_stmt_list offset is beyond .debug_line "
----------------
Can we use ReportError here too?


https://reviews.llvm.org/D39294





More information about the llvm-commits mailing list