llvm-6502/tools/bugpoint
Rafael Espindola 200c748a86 Add a createUniqueFile function and switch llvm's users of unique_file.
This function is complementary to createTemporaryFile. It handles the case were
the unique file is *not* temporary: we will rename it in the end. Since we
will rename it, the file has to be in the same filesystem as the final
destination and we don't prepend the system temporary directory.

This has a small semantic difference from unique_file: the default mode is 0666.
This matches the behavior of most unix tools. For example, with this change
lld now produces files with the same permissions as ld. I will add a test
of this change when I port clang over to createUniqueFile (next commit).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185726 91177308-0d34-0410-b5e6-96231b3b80d8
2013-07-05 21:01:08 +00:00
..
BugDriver.cpp Remove PathV1.h use from BugDriver.cpp. 2013-06-18 16:21:54 +00:00
BugDriver.h Fix bugpoint execution/reference output file name 2013-06-28 16:37:52 +00:00
bugpoint.cpp
CMakeLists.txt
CrashDebugger.cpp Don't use PathV1.h in CrashDebugger.cpp. 2013-06-17 19:33:18 +00:00
ExecutionDriver.cpp Add a createUniqueFile function and switch llvm's users of unique_file. 2013-07-05 21:01:08 +00:00
ExtractFunction.cpp Add a createUniqueFile function and switch llvm's users of unique_file. 2013-07-05 21:01:08 +00:00
FindBugs.cpp Remove usage of PathV1.h in FindBugs.cpp. 2013-06-17 20:48:36 +00:00
ListReducer.h
LLVMBuild.txt
Makefile
Miscompilation.cpp Use sys::fs::createTemporaryFile. 2013-07-05 20:14:52 +00:00
OptimizerDriver.cpp Add a createUniqueFile function and switch llvm's users of unique_file. 2013-07-05 21:01:08 +00:00
ToolRunner.cpp Add a createUniqueFile function and switch llvm's users of unique_file. 2013-07-05 21:01:08 +00:00
ToolRunner.h Don't use PathV1.h in ToolRunner.h. 2013-06-17 19:21:38 +00:00