werat created this revision. werat added reviewers: teemperor, spyffe. werat requested review of this revision. Herald added a project: LLDB. Herald added a subscriber: lldb-commits.
`memory_read_error` -> `memory_write_error` Repository: rG LLVM Github Monorepo 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; }
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; }
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits