[PATCH] D49234: [DebugInfo] Refactor DWARFDie::iterator to prevent UB
David Blaikie via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 16 19:27:45 PDT 2018
dblaikie added a comment.
Oh, bother. I tried adding an llvm::reverse call over DWARFDie.children() and it still compiled, even though I made DWARFDie::iterator an input_iterator - so I guess std::reverse_iterator isn't checkingf the trait? :/ That's unfortunate.
https://reviews.llvm.org/D49234
More information about the llvm-commits
mailing list