mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
a1e25da87d
incorrect std::string use. (Also remove redundant call to RemoveFileOnSignal.) Clang writes object files by first writing to a .tmp file and then renaming to the final .obj name. On Windows, if a compile is killed partway through the .tmp files don't get deleted. Currently it seems like RemoveFileOnSignal takes care of deleting the tmp files on Linux, but on Windows we need to call setDeleteDisposition on tmp files so that they are deleted when closed. This patch switches to using TempFile to create the .tmp files we write when creating object files, since it uses setDeleteDisposition on Windows. This change applies to both Linux and Windows for consistency. Differential Revision: https://reviews.llvm.org/D102876 This reverts commit 20797b129f844d4b12ffb2b12cf33baa2d42985c. |
||
---|---|---|
.. | ||
COM.inc | ||
DynamicLibrary.inc | ||
explicit_symbols.inc | ||
Host.inc | ||
Memory.inc | ||
Path.inc | ||
Process.inc | ||
Program.inc | ||
Signals.inc | ||
Threading.inc | ||
ThreadLocal.inc | ||
Watchdog.inc |