[PATCH] D48277: [DebugInfo] Keep DBG_VALUE undef in LiveDebugVariables

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 18 08:37:49 PDT 2018


aprantl added inline comments.


================
Comment at: lib/CodeGen/LiveDebugVariables.cpp:1097
+    if (Loc.isUndef())
+      continue;
     unsigned NewLocNo = LocNoMap[Loc.locNo()];
----------------
Just for my understanding: What is preventing you from adding the undef location into the map?


https://reviews.llvm.org/D48277





More information about the llvm-commits mailing list