[PATCH] D28303: Add iterator support to DWARFDie to allow child DIE iteration.

Greg Clayton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 5 09:42:56 PST 2017


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

- Inlined DWARFDie::iterator::begin(), DWARFDie::iterator::end() and DWARFDie::iterator::children()
- Don't include NULL DIE when using DWARFDie::iterator as most clients want this behavior
- Simplify tests for iterators to bare minimum


https://reviews.llvm.org/D28303

Files:
  include/llvm/DebugInfo/DWARF/DWARFDie.h
  lib/DebugInfo/DWARF/DWARFDie.cpp
  tools/dsymutil/DwarfLinker.cpp
  unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28303.83267.patch
Type: text/x-patch
Size: 7454 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170105/0bc6d7e7/attachment.bin>


More information about the llvm-commits mailing list