[PATCH] D59431: [DebugInfo] Terminate more kinds of location-list ranges at the end of basic blocks

David Stenberg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 25 12:22:11 PDT 2019


dstenb added inline comments.


================
Comment at: lib/CodeGen/AsmPrinter/DbgEntityHistoryCalculator.cpp:380
+            EntryIndex ClobIdx = DbgValues.startClobber(Pair.first, MBB.back());
+            DbgValues.getEntry(Pair.first, Idx).endEntry(ClobIdx);
+            IdxesToRemove.push_back(Idx);
----------------
I think you can use `Ent` instead of `DbgValues.getEntry(Pair.first, Idx)` here?


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

https://reviews.llvm.org/D59431





More information about the llvm-commits mailing list