aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp
diff options
context:
space:
mode:
authorIlya Biryukov <ibiryukov@google.com>2018-03-19 14:19:58 +0000
committerIlya Biryukov <ibiryukov@google.com>2018-03-19 14:19:58 +0000
commit8418576304be789c95eed11005afb3111cf9cd95 (patch)
tree6c4ca199ff406b4b45c6ad943a42d3707593cc97 /llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp
parent2ad19016c086d1915a8e96e2a63ca291719300ee (diff)
downloadllvm-8418576304be789c95eed11005afb3111cf9cd95.zip
llvm-8418576304be789c95eed11005afb3111cf9cd95.tar.gz
llvm-8418576304be789c95eed11005afb3111cf9cd95.tar.bz2
Changed createTemporaryFile without FD to actually create a file.
Summary: This commit changes semantics of createUniqueFile and createTemporaryFile variants that do not return file descriptors. Previously they only checked if files exist, therefore being subject to race conditions. Now they will create an empty file to avoid them. Functions that do not create a file are now called getPotentiallyUniqueTempFileName and getPotentiallyUniqueFileName. Reviewers: klimek, bkramer, krasimir, JDevlieghere, espindola Reviewed By: klimek Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D36827 llvm-svn: 327851
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp')
0 files changed, 0 insertions, 0 deletions