[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 15:27:33 PST 2017


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

Fixed the DIE class to allow it generate an abbreviation that says the DIE has children even when it doesn't. This allows us to properly test the child iteration for DIEs that say they have kids, but don't.


https://reviews.llvm.org/D28303

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

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


More information about the llvm-commits mailing list