1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/lib
Ilya Biryukov 213a1ffda4 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
2018-03-19 14:19:58 +00:00
..
Analysis [SCEV] Factor out isKnownViaInduction. NFC. 2018-03-19 08:32:09 +00:00
AsmParser [X86] Added support for nocf_check attribute for indirect Branch Tracking 2018-03-17 13:29:46 +00:00
BinaryFormat DWARF: Unify form size handling code 2018-03-14 09:39:54 +00:00
Bitcode [X86] Added support for nocf_check attribute for indirect Branch Tracking 2018-03-17 13:29:46 +00:00
CodeGen [MergeICmps] Re-land 324317 "Enable the MergeICmps Pass by default." 2018-03-19 13:37:04 +00:00
DebugInfo DWARFVerifier: Enhance validation of .debug_names hash tables 2018-03-16 10:02:16 +00:00
Demangle
ExecutionEngine [ORC] Re-apply r327566 with a fix for test-global-ctors.ll. 2018-03-15 00:30:14 +00:00
Fuzzer
FuzzMutate
IR [X86] Added support for nocf_check attribute for indirect Branch Tracking 2018-03-17 13:29:46 +00:00
IRReader
LineEditor
Linker [ThinLTO] Recommit of import global variables 2018-03-12 10:30:50 +00:00
LTO [LTO] Return proper error object rather than null LTOModule 2018-03-13 04:37:01 +00:00
MC Re-land r327620 "[CodeView] Initial support for emitting S_BLOCK32 symbols for lexical scopes" 2018-03-15 21:24:04 +00:00
Object [WebAssembly] Identify COMDATs by index rather than string. NFC 2018-03-14 15:44:45 +00:00
ObjectYAML
Option [NFC] Replace iterators in PrintHelp with range-based for 2018-03-12 18:31:07 +00:00
Passes [New PM][IRCE] port of Inductive Range Check Elimination pass to the new pass manager 2018-03-15 11:01:19 +00:00
ProfileData
Support Changed createTemporaryFile without FD to actually create a file. 2018-03-19 14:19:58 +00:00
TableGen TableGen: Explicitly forbid self-references to field members 2018-03-19 14:14:28 +00:00
Target TableGen: Check the dynamic type of !cast<Rec>(string) 2018-03-19 14:14:20 +00:00
Testing
ToolDrivers
Transforms [MSan] fix the types of RegSaveAreaPtrPtr and OverflowArgAreaPtrPtr 2018-03-19 10:08:04 +00:00
WindowsManifest
XRay
CMakeLists.txt
LLVMBuild.txt