mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-27 15:14:31 +00:00
(no commit message)
llvm-svn: 214319
This commit is contained in:
1 parent
a12e023c8a
commit
06357c930c
13 files changed
+159
-129
No files matched your search
@@ -82,6 +82,8 @@ SBStream::RedirectToFile (const char *path, bool append)
|
||||
uint32_t open_options = File::eOpenOptionWrite | File::eOpenOptionCanCreate;
|
||||
if (append)
|
||||
open_options |= File::eOpenOptionAppend;
|
||||
else
|
||||
open_options |= File::eOpenOptionTruncate;
|
||||
stream_file->GetFile().Open (path, open_options, lldb::eFilePermissionsFileDefault);
|
||||
|
||||
m_opaque_ap.reset (stream_file);
|
||||
|
||||
Reference in new issue
Block a user