[PATCH] D32765: Add line table verification to lldb-dwarfdump --verify. AbandonedPublic

Greg Clayton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 2 15:33:50 PDT 2017


clayborg created this revision.

This patch verifies the .debug_line:

- verify all addresses in a line table sequence have ascending addresses
- verify that all line table file indexes are valid

Unit tests added for both cases.


https://reviews.llvm.org/D32765

Files:
  include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
  lib/DebugInfo/DWARF/DWARFContext.cpp
  lib/DebugInfo/DWARF/DWARFDebugLine.cpp
  unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32765.97513.patch
Type: text/x-patch
Size: 16126 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170502/6df0481b/attachment.bin>


More information about the llvm-commits mailing list