1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 12:43:36 +01:00
llvm-mirror/include/llvm
Peter Collingbourne 0ec5439ada LTO: Try to open cache files before renaming them.
It appears that a potential race between the cache client and the cache
pruner that I thought was unlikely actually happened in practice [1].
Try to avoid the race condition by opening the temporary file before
renaming it. Do this only on non-Windows platforms because we cannot
rename open files on Windows using the sys::fs::rename function.

[1] https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.memory%2FLinux_CFI%2F1610%2F%2B%2Frecipes%2Fsteps%2Fcompile%2F0%2Fstdout

Differential Revision: https://reviews.llvm.org/D37410

llvm-svn: 312567
2017-09-05 19:51:38 +00:00
..
ADT [ADT] Enable reverse iteration for DenseMap 2017-08-24 23:02:48 +00:00
Analysis [Analysis, Transforms] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-09-01 21:37:29 +00:00
AsmParser
BinaryFormat [WebAssembly] Update relocation names to match spec 2017-09-01 17:32:01 +00:00
Bitcode Add strictfp attribute to prevent unwanted optimizations of libm calls 2017-08-14 21:15:13 +00:00
CodeGen Revert "Re-enable "[MachineCopyPropagation] Extend pass to do COPY source forwarding"" 2017-09-04 15:47:00 +00:00
Config Implement parsing and writing of a single xml manifest file. 2017-07-20 21:42:04 +00:00
DebugInfo [DebugInfo] - Fix for lld DWARF parsing of base address selection entries in range lists. 2017-09-04 10:30:39 +00:00
Demangle
ExecutionEngine [ORC] Add some more docs/comments to the RemoteObjectLayer. 2017-09-05 05:06:05 +00:00
FuzzMutate Move some CLI utils out of llvm-isel-fuzzer and into the library 2017-09-02 23:43:04 +00:00
IR [IR] Missing changes for r312289 (NFC). 2017-08-31 22:06:09 +00:00
IRReader
LineEditor
Linker
LTO LTO: Try to open cache files before renaming them. 2017-09-05 19:51:38 +00:00
MC [X86AsmParser] Refactor AsmRewrite constructors, NFCI 2017-08-24 15:03:18 +00:00
Object [Decompression] Fail gracefully when out of memory 2017-09-05 11:21:38 +00:00
ObjectYAML [yaml2obj][ELF] Make symbols optional for relocations 2017-08-30 23:13:31 +00:00
Option Revert "Revert r311552: [Bash-autocompletion] Add support for static analyzer flags" 2017-08-29 00:09:31 +00:00
Passes Refactor the build{Module|Function}SimplificationPipeline to expose optimization phase. 2017-07-30 04:55:39 +00:00
ProfileData Move two functions to a nicer spot. NFC. 2017-08-02 23:35:27 +00:00
Support [CMAKE] Move version control macros to AddLLVM.cmake so they can be reused by clang, etc. 2017-09-02 17:28:39 +00:00
TableGen Fix Wdocumentation warning 2017-06-20 12:28:33 +00:00
Target DAG: Fix naming crime 2017-08-25 01:26:13 +00:00
Testing/Support [Testing/Support] Remove the const_cast in TakeExpected 2017-06-22 13:11:50 +00:00
ToolDrivers llvm: add llvm-dlltool support to the archiver 2017-07-18 21:26:38 +00:00
Transforms [Analysis, Transforms] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-09-01 21:37:29 +00:00
WindowsManifest llvm-mt: Merge manifest namespaces. 2017-08-19 00:37:41 +00:00
XRay [XRay][tools] Support new kinds of instrumentation map entries 2017-08-21 00:14:06 +00:00
CMakeLists.txt
InitializePasses.h Revert "Re-enable "[MachineCopyPropagation] Extend pass to do COPY source forwarding"" 2017-09-04 15:47:00 +00:00
LinkAllIR.h Move Object format code to lib/BinaryFormat. 2017-06-07 03:48:56 +00:00
LinkAllPasses.h Reland rL312315: [MergeICmps] MergeICmps is a new optimization pass that turns chains of integer 2017-09-01 10:56:34 +00:00
module.modulemap [ORC] Exclude RemoteObjectLayer from the ExecutionEngine module, as modules 2017-09-05 04:31:14 +00:00
module.modulemap.build
Pass.h Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
PassAnalysisSupport.h
PassInfo.h
PassRegistry.h
PassSupport.h