summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/StreamFile.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-09-17 17:38:48 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-09-17 17:38:48 +0000
commitd0599970003fc88f2ac0bbc7db7a5c7fe14f02e3 (patch)
treed2326b51ed8b889799bd5bd43828d6116b0da5f7 /lldb/source/Core/StreamFile.cpp
parent922563cc6d902227c559cb67de04f32a5e8adbda (diff)
downloadbcm5719-llvm-d0599970003fc88f2ac0bbc7db7a5c7fe14f02e3.tar.gz
bcm5719-llvm-d0599970003fc88f2ac0bbc7db7a5c7fe14f02e3.zip
Use a temporary file for output which gets renamed after all the writing is finished.
This mainly prevents failures and/or crashes when multiple processes try to read/write the same PCH file. (rdar://8392711&8294781); suggestion & review by Daniel! llvm-svn: 114187
Diffstat (limited to 'lldb/source/Core/StreamFile.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud