From 2419f1d57cd20c3d8a0161f24700a47172a46b2f Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Fri, 13 Nov 2015 21:28:45 +0000 Subject: Modernize FormatBacktrace() and make portable for Python 3. llvm-svn: 253085 --- lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h') diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h index 4e1eed6..c9d17c0 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h +++ b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h @@ -415,6 +415,9 @@ class PythonModule : public PythonObject static PythonModule AddModule(llvm::StringRef module); + static PythonModule + ImportModule(llvm::StringRef module); + // Bring in the no-argument base class version using PythonObject::Reset; -- cgit v1.1