summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectMemory.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-02-09 01:08:52 +0000
committerGreg Clayton <gclayton@apple.com>2011-02-09 01:08:52 +0000
commit51b1e2d271a4749654c2168aad7b24321bbb2897 (patch)
treeba30fa1dae5d98f59f4b43af59459e9279bb22da /lldb/source/Commands/CommandObjectMemory.cpp
parent7eaacc517bc312d43d511856f359e7bd68c344f1 (diff)
downloadbcm5719-llvm-51b1e2d271a4749654c2168aad7b24321bbb2897.tar.gz
bcm5719-llvm-51b1e2d271a4749654c2168aad7b24321bbb2897.zip
Use Host::File in lldb_private::StreamFile and other places to cleanup host
layer a bit more. llvm-svn: 125149
Diffstat (limited to 'lldb/source/Commands/CommandObjectMemory.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectMemory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectMemory.cpp b/lldb/source/Commands/CommandObjectMemory.cpp
index 3020c01de81..949cadca352 100644
--- a/lldb/source/Commands/CommandObjectMemory.cpp
+++ b/lldb/source/Commands/CommandObjectMemory.cpp
@@ -347,7 +347,7 @@ public:
if (m_options.m_append_to_outfile)
mode[0] = 'a';
- if (outfile_stream.Open (path, mode))
+ if (outfile_stream.GetFile ().Open (path, File::eOpenOptionWrite | File::eOpenOptionCanCreate).Success())
{
if (m_options.m_output_as_binary)
{
OpenPOWER on IntegriCloud