HomePhabricator

Fix DenseMap iterator asserts when shouldReverseIterate==true

Authored by beanz on Apr 20 2020, 4:28 PM.

Description

Fix DenseMap iterator asserts when shouldReverseIterate==true

This patch gets the asserts working correctly when LLVM_REVERSE_ITERATION=On by fixing the iterators returned by the DenseMap::find* methods so that they return well-formed iterators that work with reverse iteration, and satisfy the assertions.

Details

Committed
beanzApr 20 2020, 5:31 PM
Parents
rGab093bfed760: Recommit: DebugInfo: Fix rangesBaseAddress DICompileUnit bitcode…
Branches
Unknown
Tags
Unknown