From 1b7e5d461aee80cd3031b4854ab71f6721b71e31 Mon Sep 17 00:00:00 2001 From: Andy Yankovsky Date: Mon, 8 Mar 2021 13:41:33 +0100 Subject: [PATCH] [lldb] Fix error message in IRInterpreter `memory_read_error` -> `memory_write_error` Reviewed By: teemperor Differential Revision: https://reviews.llvm.org/D98170 --- lldb/source/Expression/IRInterpreter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Expression/IRInterpreter.cpp b/lldb/source/Expression/IRInterpreter.cpp index b87a759..81d8a8d 100644 --- 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; } -- 2.7.4