1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/tools
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
..
bugpoint [GlobalDCE, Misc] Don't remove functions referenced by ifuncs 2016-05-04 00:20:48 +00:00
bugpoint-passes
dsymutil [dsymutil] Fix -arch option for thumb variants. 2016-05-09 06:01:12 +00:00
gold Revert "[ThinLTO] Emit individual index files for distributed backends" 2016-05-05 18:31:00 +00:00
llc Remove every uses of getGlobalContext() in LLVM (but the C API) 2016-04-14 21:59:01 +00:00
lli [Orc] Fix missing rename from r268845. 2016-05-07 03:48:56 +00:00
llvm-ar Fix bug where temporary file would be left behind every time an archive was updated. 2016-05-09 13:31:11 +00:00
llvm-as Remove every uses of getGlobalContext() in LLVM (but the C API) 2016-04-14 21:59:01 +00:00
llvm-as-fuzzer Remove every uses of getGlobalContext() in LLVM (but the C API) 2016-04-14 21:59:01 +00:00
llvm-bcanalyzer [ThinLTO] Use valueid instead of bitcode offsets in combined index file 2016-04-27 13:28:35 +00:00
llvm-c-test [llvm-c] Expose LLVMContextGetDiagnostic{Handler,Context} 2016-04-08 09:19:02 +00:00
llvm-config llvm-config: fix --libs on Linux 2016-03-14 21:39:58 +00:00
llvm-cov Move coverage related code into a separate library. 2016-04-29 18:53:05 +00:00
llvm-cxxdump Thread Expected<...> up from libObject’s getType() for symbols to allow llvm-objdump to produce a good error message. 2016-05-02 20:28:12 +00:00
llvm-diff [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
llvm-dis Remove every uses of getGlobalContext() in LLVM (but the C API) 2016-04-14 21:59:01 +00:00
llvm-dwarfdump [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
llvm-dwp [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
llvm-extract Remove every uses of getGlobalContext() in LLVM (but the C API) 2016-04-14 21:59:01 +00:00
llvm-go
llvm-jitlistener Remove every uses of getGlobalContext() in LLVM (but the C API) 2016-04-14 21:59:01 +00:00
llvm-link ThinLTO/ModuleLinker: add a flag to not always pull-in linkonce when performing importing 2016-04-21 01:59:39 +00:00
llvm-lto Revert "[ThinLTO] Emit individual index files for distributed backends" 2016-05-05 18:31:00 +00:00
llvm-mc MC: Don't access the filesystem in MCContext's constructor 2016-03-22 22:24:29 +00:00
llvm-mc-fuzzer [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
llvm-mcmarkup
llvm-nm Thread Expected<...> up from libObject’s getType() for symbols to allow llvm-objdump to produce a good error message. 2016-05-02 20:28:12 +00:00
llvm-objdump Clean up the specific error message for a malformed Mach-O files with bad segment 2016-05-05 17:43:35 +00:00
llvm-pdbdump Make llvm-pdbdump print CV type records 2016-05-06 22:15:42 +00:00
llvm-profdata Remove unused header, NFC 2016-05-03 05:05:38 +00:00
llvm-readobj [codeview] Move dumper into lib/DebugInfo/CodeView 2016-05-05 00:34:33 +00:00
llvm-rtdyld Thread Expected<...> up from libObject’s getType() for symbols to allow llvm-objdump to produce a good error message. 2016-05-02 20:28:12 +00:00
llvm-shlib [CMake] If set we should pass LLVM_VERSION_INFO into config.h 2016-04-25 23:02:47 +00:00
llvm-size Fix llvm-size to exit with non zero when it can’t open a file. 2016-05-02 21:41:03 +00:00
llvm-split Remove every uses of getGlobalContext() in LLVM (but the C API) 2016-04-14 21:59:01 +00:00
llvm-stress [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
llvm-symbolizer
lto LTO: Use a common LibLTOCodeGenerator::init, NFC 2016-04-16 22:25:36 +00:00
msbuild
obj2yaml Thread Expected<...> up from libObject’s getName() for symbols to allow llvm-objdump to produce a good error message. 2016-04-20 21:24:34 +00:00
opt Add TargetMachine::addEarlyAsPossiblePasses, and call it from opt. 2016-04-27 19:08:24 +00:00
sancov [sancov] using normalized filenames for blacklist checks. 2016-04-21 23:38:45 +00:00
sanstats Revert "Fix Clang-tidy modernize-deprecated-headers warnings in remaining files; other minor fixes." 2016-04-05 20:45:04 +00:00
verify-uselistorder [GlobalDCE, Misc] Don't remove functions referenced by ifuncs 2016-05-04 00:20:48 +00:00
xcode-toolchain [CMake] [Xcode] Improving Xcode toolchain generation to support distribution targets 2016-04-29 22:19:35 +00:00
yaml2obj [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
CMakeLists.txt Remove leftover 2016-04-29 15:08:05 +00:00
LLVMBuild.txt