forked from OSchip/llvm-project
[lldb] Fix error message in IRInterpreter
`memory_read_error` -> `memory_write_error` Reviewed By: teemperor Differential Revision: https://reviews.llvm.org/D98170
This commit is contained in:
parent
57a0e0d4c2
commit
1b7e5d461a
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue