[PATCH] D32177: Using address range map to speedup finding inline stack for address.

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 18 10:18:38 PDT 2017


dblaikie added inline comments.


================
Comment at: include/llvm/DebugInfo/DWARF/DWARFUnit.h:140
+  // Map from range's start address to end address and corresponding DIE.
+  std::map<uint64_t, std::pair<uint64_t, DWARFDie>> AddrDieMap;
   typedef iterator_range<std::vector<DWARFDebugInfoEntry>::iterator>
----------------
Would llvm::IntervalMap be more suitable here? (or at least DenseMap, perhaps)


https://reviews.llvm.org/D32177





More information about the llvm-commits mailing list