[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
Fri May 12 16:17:52 PDT 2017


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

- Created a struct named DWARFRange and test it
- Move all contains and intersects logic into DWARFRange and DieRangeInfo
- Create a new DWARFVerify::DIEInfo  that contains a DieRangeInfo and a NonOverlappingRanges.
- Simplify verifyDIE as requested to do everything in one place
- Modified DieRangeInfo::contains and DieRangeInfo::intersects to be faster
- Added tests for DieRangeInfo::contains and DieRangeInfo::intersects
- Removed the SortedRanges class and moved it into DieRangeInfo


https://reviews.llvm.org/D32821

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

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


More information about the llvm-commits mailing list