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

Pavel Labath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 17 02:04:56 PDT 2018


labath added a comment.

In https://reviews.llvm.org/D49234#1164525, @dblaikie wrote:

> "this is the reverse iterator type for this sequence"


One way to do that would be to specialize `std::reverse_iterator<DWARFDie::iterator>` to do "the right thing".


https://reviews.llvm.org/D49234





More information about the llvm-commits mailing list