diff options
author | Zachary Turner <zturner@google.com> | 2015-11-13 21:28:45 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2015-11-13 21:28:45 +0000 |
commit | 2419f1d57cd20c3d8a0161f24700a47172a46b2f (patch) | |
tree | a316d8d2f1a3d9b003c256f480a24f6d89046612 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | |
parent | 75b4be9a1198c53384980eadca2708628b97622c (diff) | |
download | llvm-2419f1d57cd20c3d8a0161f24700a47172a46b2f.zip llvm-2419f1d57cd20c3d8a0161f24700a47172a46b2f.tar.gz llvm-2419f1d57cd20c3d8a0161f24700a47172a46b2f.tar.bz2 |
Modernize FormatBacktrace() and make portable for Python 3.
llvm-svn: 253085
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
-rw-r--r-- | lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | 3 |
1 files changed, 3 insertions, 0 deletions
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; |