[PATCH] D21808: [WebAssembly] Handle debug information and virtual registers without crashing

Dominic Chen via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 29 14:54:15 PDT 2016


ddcc added inline comments.

================
Comment at: lib/Target/WebAssembly/WebAssemblyReplacePhysRegs.cpp:92
@@ -91,1 +91,3 @@
+        if (MO.getParent()->isDebugValue())
+          MO.setIsDebug();
         Changed = true;
----------------
jfb wrote:
> This is the part that was missing for `use_nodbg_iterands` to skip?
Yeah, but I'm not sure if this is the right way to do it.


http://reviews.llvm.org/D21808





More information about the llvm-commits mailing list