[PATCH] D11933: Extending debug ranges

Vikram TV via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 11 03:21:05 PST 2015


tvvikram marked 3 inline comments as done.

================
Comment at: lib/CodeGen/ExtendDebugRangeLocation.cpp:301
@@ +300,3 @@
+    }
+
+    // Join with this predecessor.
----------------
I have maintained InLocs for every MBB. These InLocs will also represent the set of DBG_VALUE instructions already inserted. At every 'join' call, the incoming locations are calculated progressively over the predecessors of the MBB (as suggested). Any new DBG_VALUE instruction calculated is inserted at the start of the MBB as well as to the InLocs of this MBB.


http://reviews.llvm.org/D11933





More information about the llvm-commits mailing list