Make File option flags consistent for Python API
authorStephane Sezer <sas@cd80.net>
Thu, 24 Mar 2016 22:22:20 +0000 (22:22 +0000)
committerStephane Sezer <sas@cd80.net>
Thu, 24 Mar 2016 22:22:20 +0000 (22:22 +0000)
commitc5273d929f54f9499d1cdea6e3112d6cdf9b18b1
tree6849e01f27567456bd12f823ea377d5daa5be13b
parentce7c6cfe0e817251548a8c335ccb99bf5c0b12b4
Make File option flags consistent for Python API

Summary:
Fixes SBCommandReturnObject::SetImmediateOutputFile() and
SBCommandReturnObject::SetImmediateOutputFile() for files opened
with "a" or "a+" by resolving inconsistencies between File and
our Python parsing of file objects.

Reviewers: granata.enrico, Eugene.Zelenko, jingham, clayborg

Subscribers: lldb-commits, sas

Differential Revision: http://reviews.llvm.org/D18228

Change by Francis Ricci <fjricci@fb.com>

llvm-svn: 264351
lldb/packages/Python/lldbsuite/test/functionalities/command_script_immediate_output/TestCommandScriptImmediateOutput.py
lldb/packages/Python/lldbsuite/test/functionalities/command_script_immediate_output/custom_command.py
lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp