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 <[email protected]>

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>>


        
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to