[PATCH] D77146: [DebugInfo] Fix reading location tables headers of v5 units in DWP.

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 5 17:06:18 PDT 2020


dblaikie accepted this revision.
dblaikie added a comment.

Seems good - thanks!



================
Comment at: llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp:542
+      if (auto *IndexEntry = Header.getIndexEntry())
+        if (auto *Contrib = IndexEntry->getContribution(DW_SECT_LOCLISTS))
+          Offset += Contrib->Offset;
----------------
I'd leave the const here


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77146/new/

https://reviews.llvm.org/D77146





More information about the llvm-commits mailing list