Skip to content

Commit 0fd42ce

Browse files
committed
[lldb/ScriptInterpreter] Fix typo in GetScriptedModulePath (NFC)
This fixes a typo in `ScriptedPythonInterface::GetScriptedModulePath`. Signed-off-by: Med Ismail Bennani <[email protected]> (cherry picked from commit 0e0c0b7)
1 parent eb9de8a commit 0fd42ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class ScriptedPythonInterface : virtual public ScriptedInterface {
108108
"module '%s.__file__' attribute is not a string",
109109
py_obj_module_str_ref.data());
110110

111-
return FileSpec(py_obj_module_str.GetString());
111+
return FileSpec(py_module_file_str.GetString());
112112
}
113113

114114
llvm::Expected<std::map<llvm::StringLiteral, AbstractMethodCheckerPayload>>

0 commit comments

Comments
 (0)