llvm-6502/tools
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
..
bugpoint Add a createUniqueFile function and switch llvm's users of unique_file. 2013-07-05 21:01:08 +00:00
bugpoint-passes
gold
llc
lli Add flag to lli to enable debugging of IR when used with MCJIT. 2013-06-28 19:11:40 +00:00
llvm-ar Add a createUniqueFile function and switch llvm's users of unique_file. 2013-07-05 21:01:08 +00:00
llvm-as
llvm-bcanalyzer keep only the StringRef version of getFileOrSTDIN. 2013-06-25 05:28:34 +00:00
llvm-config Remove unused includes. 2013-06-26 13:54:34 +00:00
llvm-cov
llvm-diff
llvm-dis
llvm-dwarfdump llvm-dwarfdump: Add support for dumping the .debug_loc section 2013-06-19 21:37:13 +00:00
llvm-extract
llvm-jitlistener
llvm-link
llvm-mc
llvm-mcmarkup
llvm-nm Make llvm-nm return 1 on error. 2013-07-03 15:46:03 +00:00
llvm-objdump keep only the StringRef version of getFileOrSTDIN. 2013-06-25 05:28:34 +00:00
llvm-prof
llvm-readobj
llvm-rtdyld
llvm-shlib The build system is currently miss-identifying GNU/kFreeBSD as FreeBSD. 2013-07-01 08:07:52 +00:00
llvm-size
llvm-stress
llvm-symbolizer llvm-symbolizer: Recognize a drive letter on win32. Then "REQUIRES: shell" can be removed. 2013-07-01 09:51:42 +00:00
lto Use sys::fs::createTemporaryFile. 2013-07-05 20:14:52 +00:00
macho-dump
obj2yaml
opt Debug Info: clean up usage of Verify. 2013-06-28 05:43:10 +00:00
yaml2obj [yaml2obj][ELF] Make symbol table top-level key. 2013-06-22 01:38:00 +00:00
CMakeLists.txt Provide bootstrap support to build only llvm+clang when using cmake. 2013-06-26 08:05:08 +00:00
LLVMBuild.txt
Makefile