llvm-6502/lib/Support
Dan Gohman baa26395cc Make LLVM command-line tools overwrite their output files without -f.
This is conventional command-line tool behavior. -f now just means
"enable binary output on terminals".

Add a -f option to llvm-extract and llvm-link, for consistency.

Remove F_Force from raw_fd_ostream and enable overwriting and
truncating by default. Introduce an F_Excl flag to permit users to
enable a failure when the file already exists. This flag is
currently unused.

Update Makefiles and documentation accordingly.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79990 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-25 15:34:52 +00:00
..
Allocator.cpp Added a test and fixed a bug in BumpPtrAllocator relating to large alignment 2009-07-25 21:26:02 +00:00
APFloat.cpp Fix typo. 2009-08-21 23:09:47 +00:00
APInt.cpp remove the dead std::ostream APInt inserter 2009-08-23 23:11:28 +00:00
APSInt.cpp
CMakeLists.txt CMake: updated list of source files. 2009-08-25 00:02:29 +00:00
CommandLine.cpp clean up #includes. 2009-08-23 18:09:02 +00:00
ConstantRange.cpp Change Pass::print to take a raw ostream instead of std::ostream, 2009-08-23 06:03:38 +00:00
Debug.cpp Fix some refactos for iostream changes (in -Asserts mode). 2009-08-23 08:50:52 +00:00
Dwarf.cpp llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. 2009-07-14 16:55:14 +00:00
ErrorHandling.cpp Add a comment explaining why llvm_unreachable_internal doesn't call 2009-08-20 17:15:19 +00:00
FileUtilities.cpp
FoldingSet.cpp llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. 2009-07-14 16:55:14 +00:00
FormattedStream.cpp switch formattedstream to use raw_ostream::indent. This eliminates 2009-08-22 23:16:09 +00:00
GraphWriter.cpp Unbreak the build for HAVE_GV platforms. 2009-08-24 03:23:12 +00:00
IsInf.cpp
IsNAN.cpp
Makefile
ManagedStatic.cpp
MemoryBuffer.cpp
PluginLoader.cpp remove some uses of llvm/Support/Streams.h 2009-08-23 08:43:55 +00:00
PrettyStackTrace.cpp Switch to SmallString::str from SmallString::c_str, and remove 2009-08-19 20:07:03 +00:00
raw_os_ostream.cpp split raw_os_ostream out to its own header and implementation file. This 2009-08-24 04:02:06 +00:00
raw_ostream.cpp Make LLVM command-line tools overwrite their output files without -f. 2009-08-25 15:34:52 +00:00
SlowOperationInformer.cpp remove some uses of llvm/Support/Streams.h 2009-08-23 08:43:55 +00:00
SmallPtrSet.cpp
SourceMgr.cpp add a trivial line # cache to SourceMgr to make repeated queries to 2009-08-11 17:49:14 +00:00
Statistic.cpp remove some uses of llvm/Support/Streams.h 2009-08-23 08:43:55 +00:00
StringExtras.cpp
StringMap.cpp Convert StringMap to using StringRef for its APIs. 2009-07-23 18:17:34 +00:00
StringPool.cpp Kill off more cerr/cout uses and prune includes a bit. 2009-08-23 11:37:21 +00:00
SystemUtils.cpp Prune #includes from llvm/Linker.h and llvm/System/Path.h, 2009-08-23 22:45:37 +00:00
TargetRegistry.cpp Remove now unused arguments from TargetRegistry::lookupTarget. 2009-08-03 04:20:57 +00:00
Timer.cpp remove some uses of llvm/Support/Streams.h 2009-08-23 08:43:55 +00:00
Triple.cpp Add llvm::Triple::getArchTypePrefix for getting the intrinsic prefix for an 2009-08-24 09:53:06 +00:00
Twine.cpp Switch Twine::str() to use toVector(), which is now efficient. 2009-08-19 18:09:47 +00:00