llvm/lib/Bitcode/Writer
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
..
BitcodeWriter.cpp eliminate the std::ostream forms of the bitcode writing APIs. 2009-08-23 07:49:08 +00:00
BitcodeWriterPass.cpp eliminate the std::ostream forms of the bitcode writing APIs. 2009-08-23 07:49:08 +00:00
BitWriter.cpp Make LLVM command-line tools overwrite their output files without -f. 2009-08-25 15:34:52 +00:00
CMakeLists.txt Initial support for the CMake build system. 2008-09-22 01:08:49 +00:00
Makefile Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
Serialize.cpp remove some uses of llvm/Support/Streams.h 2009-08-23 08:43:55 +00:00
SerializeAPFloat.cpp Rename APFloat::convertToAPInt to bitcastToAPInt to 2008-10-09 18:53:47 +00:00
SerializeAPInt.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
ValueEnumerator.cpp Push LLVMContexts through the IntegerType APIs. 2009-08-13 21:58:54 +00:00
ValueEnumerator.h Use separate ValueList for metadata. 2009-08-04 06:00:18 +00:00