[Lldb-commits] [lldb] f1097e8 - [lldb] Fix build after d5a62b78b8ae

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 19 10:56:35 PDT 2023


Author: Alex Langford
Date: 2023-09-19T10:56:13-07:00
New Revision: f1097e88d22511f3ec96386ca165b75bb75aaa7a

URL: https://github.com/llvm/llvm-project/commit/f1097e88d22511f3ec96386ca165b75bb75aaa7a
DIFF: https://github.com/llvm/llvm-project/commit/f1097e88d22511f3ec96386ca165b75bb75aaa7a.diff

LOG: [lldb] Fix build after d5a62b78b8ae

I renamed something but forgot to update the uses of it. Minor thinko.

Added: 
    

Modified: 
    lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
index 6280084ca806828..0d6ff6660acd3db 100644
--- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
+++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
@@ -2442,7 +2442,7 @@ ConstString ScriptInterpreterPythonImpl::GetSyntheticTypeName(
     return {};
 
   PythonString type_name(PyRefType::Borrowed, py_return.get());
-  return ConstString(py_string.GetString());
+  return ConstString(type_name.GetString());
 }
 
 bool ScriptInterpreterPythonImpl::RunScriptFormatKeyword(


        


More information about the lldb-commits mailing list