[Lldb-commits] [lldb] 0e0c0b7 - [lldb/ScriptInterpreter] Fix typo in GetScriptedModulePath (NFC)

Med Ismail Bennani via lldb-commits lldb-commits at lists.llvm.org
Thu Dec 4 14:02:50 PST 2025


Author: Med Ismail Bennani
Date: 2025-12-04T14:01:45-08:00
New Revision: 0e0c0b7651e833ed67cfedf1b4805717fa24789b

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

LOG: [lldb/ScriptInterpreter] Fix typo in GetScriptedModulePath (NFC)

This fixes a typo in `ScriptedPythonInterface::GetScriptedModulePath`.

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>

Added: 
    

Modified: 
    lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h b/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h
index 53a7ba65f64b7..b737f945845f6 100644
--- a/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h
+++ b/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h
@@ -108,7 +108,7 @@ class ScriptedPythonInterface : virtual public ScriptedInterface {
           "module '%s.__file__' attribute is not a string",
           py_obj_module_str_ref.data());
 
-    return FileSpec(py_obj_module_str.GetString());
+    return FileSpec(py_module_file_str.GetString());
   }
 
   llvm::Expected<std::map<llvm::StringLiteral, AbstractMethodCheckerPayload>>


        


More information about the lldb-commits mailing list