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(


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to