diff options
author | Enrico Granata <egranata@apple.com> | 2016-01-13 18:11:45 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2016-01-13 18:11:45 +0000 |
commit | 744959b9c9d7700a567926a4829f2e8cc6dc3cec (patch) | |
tree | 9236c8d51dbc00abc4f8cf758de375500760d3b9 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | |
parent | c5d29aa7c4cb5fe4c5b424c88f5ab6de5a8c4ad2 (diff) | |
download | bcm5719-llvm-744959b9c9d7700a567926a4829f2e8cc6dc3cec.tar.gz bcm5719-llvm-744959b9c9d7700a567926a4829f2e8cc6dc3cec.zip |
Fix an issue where scripted commands would not actually print any of their output if an immediate output file was set in the result object via a Python file object
Fixes rdar://24130303
llvm-svn: 257644
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
-rw-r--r-- | lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h index 06264b66c28..6d5a11bd7d9 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h +++ b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h @@ -525,6 +525,8 @@ class PythonFile : public PythonObject void Reset(PyRefType type, PyObject *py_obj) override; void Reset(File &file, const char *mode); + static uint32_t GetOptionsFromMode(llvm::StringRef mode); + bool GetUnderlyingFile(File &file) const; }; |