[PATCH] D80019: [WebAssembly] Fixed debugloc in DebugFixup pass
Wouter van Oortmerssen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 15 10:51:46 PDT 2020
aardappel updated this revision to Diff 264283.
aardappel added a comment.
Added differential revision to commit
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80019/new/
https://reviews.llvm.org/D80019
Files:
llvm/lib/Target/WebAssembly/WebAssemblyDebugFixup.cpp
Index: llvm/lib/Target/WebAssembly/WebAssemblyDebugFixup.cpp
===================================================================
--- llvm/lib/Target/WebAssembly/WebAssemblyDebugFixup.cpp
+++ llvm/lib/Target/WebAssembly/WebAssemblyDebugFixup.cpp
@@ -118,7 +118,7 @@
// a $noreg DBG_VALUE for the variable to end it, right after
// the current instruction.
BuildMI(*Prev.DebugValue->getParent(), std::next(MII),
- MI.getDebugLoc(), TII->get(WebAssembly::DBG_VALUE), false,
+ Prev.DebugValue->getDebugLoc(), TII->get(WebAssembly::DBG_VALUE), false,
Register(), Prev.DebugValue->getOperand(2).getMetadata(),
Prev.DebugValue->getOperand(3).getMetadata());
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80019.264283.patch
Type: text/x-patch
Size: 799 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200515/79fa3bc9/attachment-0001.bin>
More information about the llvm-commits
mailing list