[PATCH] D32821: Add DWARF verifiers to verify address ranges are correct and scoped correctly.

Greg Clayton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 4 11:29:08 PDT 2017


clayborg updated this revision to Diff 97854.
clayborg added a comment.

- Make DIE verification recursive
- Remove all Depth based code and just pass info from the parent
- add detection of overalap between DW_TAG_lexical_block or DW_TAG_inlined_subroutine DIEs at the same level
- rename RangeInfoType to DieRangeInfo
- create a new VerifyDieInfo to help with verification


https://reviews.llvm.org/D32821

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32821.97854.patch
Type: text/x-patch
Size: 22251 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170504/e2cf6df4/attachment.bin>


More information about the llvm-commits mailing list