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 Don't export symbols in every binary on linux. 2013-04-04 01:01:32 +00:00
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 Split out the IRReader header and the utility functions it provides into 2013-03-26 02:25:37 +00:00
Makefile Manually update the dependencies in the Makefiles. It turns out that all 2013-03-26 03:45:47 +00:00
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