projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57a0e0d
)
[lldb] Fix error message in IRInterpreter
author
Andy Yankovsky
<weratt@gmail.com>
Mon, 8 Mar 2021 12:41:33 +0000
(13:41 +0100)
committer
Andy Yankovsky
<weratt@gmail.com>
Mon, 8 Mar 2021 15:46:38 +0000
(16:46 +0100)
`memory_read_error` -> `memory_write_error`
Reviewed By: teemperor
Differential Revision: https://reviews.llvm.org/D98170
lldb/source/Expression/IRInterpreter.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Expression/IRInterpreter.cpp
b/lldb/source/Expression/IRInterpreter.cpp
index
b87a759
..
81d8a8d
100644
(file)
--- a/
lldb/source/Expression/IRInterpreter.cpp
+++ b/
lldb/source/Expression/IRInterpreter.cpp
@@
-1241,7
+1241,7
@@
bool IRInterpreter::Interpret(llvm::Module &module, llvm::Function &function,
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;
}