1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/lib
Rafael Espindola af070e4f0c Fix bug where temporary file would be left behind every time an archive was updated.
When updating an existing archive, llvm-ar opens the old archive into a
`MemoryBuffer`, does its thing, and writes the results to a temporary
file. That file is then renamed to the original archive filename, thus
replacing it with the updated contents. However, on Windows at least,
what would happen is that the `MemoryBuffer` for the old archive would
actually be an mmap'ed view of the file, so when it came time to do the
rename via Win32's `ReplaceFile`, it would succeed but would be unable
to fully replace the file since there would still be a handle open on
it; instead, the old version got renamed to a random temporary name and
left behind.

Patch by Cameron!

llvm-svn: 268916
2016-05-09 13:31:11 +00:00
..
Analysis [X86] Promote several single precision FP libcalls on Windows 2016-05-08 08:15:50 +00:00
AsmParser AMDGPU/SI: Add amdgpu_kernel calling convention. Part 1. 2016-05-06 09:07:29 +00:00
Bitcode Implement a safer bitcode upgrade for DISubprogram. 2016-05-06 22:53:06 +00:00
CodeGen Fix unused variable warning. 2016-05-07 20:19:59 +00:00
DebugInfo Drop error when trying to fallback from PDB to DWARF. 2016-05-06 22:29:34 +00:00
ExecutionEngine [Orc] Rename OrcArchitectureSupport to OrcABISupport and add Win32 ABI support. 2016-05-07 03:36:38 +00:00
Fuzzer [libFuzzer] enhance -rss_limit_mb and enable by default. Now it will print the OOM reproducer. 2016-05-06 23:38:07 +00:00
IR Fix stripDebugInfo: was modifying "DebugLoc" attached to the intrinsic after deleting it. 2016-05-07 05:07:47 +00:00
IRReader
LibDriver LibDriver: Silently do nothing when provided no inputs. 2016-04-13 19:36:04 +00:00
LineEditor
Linker Fix recursive -only-needed. 2016-04-21 14:56:33 +00:00
LTO [PM] Port Interprocedural SCCP to the new pass manager. 2016-05-05 21:05:36 +00:00
MC [mips] Correct the ordering of HI/LO pairs in the relocation table. 2016-05-06 13:49:25 +00:00
Object Fix bug where temporary file would be left behind every time an archive was updated. 2016-05-09 13:31:11 +00:00
ObjectYAML
Option Option parser: class for consuming a joined arg in addition to all remaining args 2016-04-15 00:23:30 +00:00
Passes [PM] port IR based PGO prof-gen pass to new pass manager 2016-05-06 05:49:19 +00:00
ProfileData [PGO] Use rsplit to parse value-data line in text profile file. 2016-05-06 23:20:58 +00:00
Support Remove LLVM_ENABLE_TIMESTAMPS 2016-05-05 19:57:03 +00:00
TableGen [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
Target [X86][SSE] Added TODO comment to add support for AVX512 mask registers to shuffle comments 2016-05-09 13:30:16 +00:00
Transforms Minor code cleanups. NFC. 2016-05-08 23:22:58 +00:00
CMakeLists.txt
LLVMBuild.txt