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

Greg Clayton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 2 09:54:09 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/D32754

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: D32754.97463.patch
Type: text/x-patch
Size: 9795 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170502/472b969f/attachment.bin>


More information about the llvm-commits mailing list