[Lldb-commits] [PATCH] D98170: [lldb] Fix error message in IRInterpreter
Andy Yankovsky via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Mar 8 07:47:05 PST 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG1b7e5d461aee: [lldb] Fix error message in IRInterpreter (authored by werat).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98170/new/
https://reviews.llvm.org/D98170
Files:
lldb/source/Expression/IRInterpreter.cpp
Index: lldb/source/Expression/IRInterpreter.cpp
===================================================================
--- lldb/source/Expression/IRInterpreter.cpp
+++ lldb/source/Expression/IRInterpreter.cpp
@@ -1241,7 +1241,7 @@
if (!write_error.Success()) {
LLDB_LOGF(log, "Couldn't write to a region on behalf of a LoadInst");
error.SetErrorToGenericError();
- error.SetErrorString(memory_read_error);
+ error.SetErrorString(memory_write_error);
return false;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98170.329014.patch
Type: text/x-patch
Size: 520 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210308/a201c3b5/attachment-0001.bin>
More information about the lldb-commits
mailing list