[PATCH] D49234: [DebugInfo] Refactor DWARFDie::iterator to prevent UB

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 16 14:42:53 PDT 2018


JDevlieghere updated this revision to Diff 155766.
JDevlieghere added a comment.

- Continue using the iterator facade.
- Explicitly remove operator->() to make our intentions clear.


https://reviews.llvm.org/D49234

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49234.155766.patch
Type: text/x-patch
Size: 3898 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180716/b8673df5/attachment.bin>


More information about the llvm-commits mailing list