llvm-6502/include/llvm/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
..
AIXDataTypesFix.h
AlignOf.h
Allocator.h Re-committing changes from r76825 to BumpPtrAllocator with a fix and tests for 2009-07-23 18:34:13 +00:00
CallSite.h Use the default copy ctor and copy-assignment operators. 2009-08-01 19:11:31 +00:00
Casting.h convert LoopInfo.h and GraphWriter.h to use raw_ostream 2009-08-23 07:19:13 +00:00
CFG.h
CommandLine.h Fix some comments referring to std::cerr. 2009-08-03 01:02:24 +00:00
Compiler.h
ConstantFolder.h Add more casts to the IRBuilder. 2009-08-16 02:19:46 +00:00
ConstantRange.h Change Pass::print to take a raw ostream instead of std::ostream, 2009-08-23 06:03:38 +00:00
DataFlow.h
DataTypes.h.cmake Convert comments to C90-style so llvm-c can import DataTypes.h. 2009-08-10 19:44:53 +00:00
DataTypes.h.in Convert comments to C90-style so llvm-c can import DataTypes.h. 2009-08-10 19:44:53 +00:00
Debug.h Fix some refactos for iostream changes (in -Asserts mode). 2009-08-23 08:50:52 +00:00
DebugLoc.h Update DebugInfo interface to use metadata, instead of special named llvm.dbg.... global variables, to encode debugging information in llvm IR. This is mostly a mechanical change that tests metadata support very well. 2009-08-25 05:24:07 +00:00
DOTGraphTraits.h
Dwarf.h Fix a bug where the DWARF emitter in the JIT was not initializing alignment 2009-08-21 21:03:57 +00:00
DynamicLinker.h
ELF.h
ErrorHandling.h Add some comments clarifying what appear to be the intent of various 2009-08-20 01:46:24 +00:00
FileUtilities.h
Format.h Fix off-by-one in llvm::Format::print. 2009-08-23 20:31:39 +00:00
FormattedStream.h switch formattedstream to use raw_ostream::indent. This eliminates 2009-08-22 23:16:09 +00:00
GetElementPtrTypeIterator.h
GraphWriter.h Make LLVM command-line tools overwrite their output files without -f. 2009-08-25 15:34:52 +00:00
InstIterator.h
InstVisitor.h Clean up some comments. 2009-07-15 22:43:51 +00:00
IRBuilder.h Switch IRBuilder to using Twine references for names. 2009-08-19 22:34:21 +00:00
LeakDetector.h Reapply my less-lock-contention-in-leak-detector patch, now with new files 2009-08-19 17:07:46 +00:00
ManagedStatic.h Resolve undefined behaviour when ManagedStatic is instantiated with a fixed-length array type. 2009-07-09 17:26:16 +00:00
Mangler.h Rename Mangler linkage enums to something less gross. 2009-07-20 19:41:27 +00:00
MathExtras.h Fix the N>=64 case in the isInt<> and isUint<> templates. 2009-08-13 06:24:02 +00:00
MemoryBuffer.h Add MemoryBuffer::getBuffer() -> StringRef. 2009-08-24 09:29:24 +00:00
MemoryObject.h Thanks, Bill! 2009-07-27 19:45:28 +00:00
MutexGuard.h
NoFolder.h Add convenience functions for creating nsw add operators. 2009-08-11 20:20:39 +00:00
OutputBuffer.h
PassNameParser.h Change Pass::print to take a raw ostream instead of std::ostream, 2009-08-23 06:03:38 +00:00
PatternMatch.h Remove a bunch more now-unnecessary Context arguments. 2009-08-12 16:23:25 +00:00
PluginLoader.h
PointerLikeTypeTraits.h
PredIteratorCache.h
PrettyStackTrace.h add a knob to turn off PrettyStackTrace globally. Patch by Zoltan 2009-07-16 06:17:45 +00:00
raw_os_ostream.h split raw_os_ostream out to its own header and implementation file. This 2009-08-24 04:02:06 +00:00
raw_ostream.h Make LLVM command-line tools overwrite their output files without -f. 2009-08-25 15:34:52 +00:00
Recycler.h
RecyclingAllocator.h
Registry.h
RegistryParser.h
SlowOperationInformer.h
SourceMgr.h add a trivial line # cache to SourceMgr to make repeated queries to 2009-08-11 17:49:14 +00:00
StableBasicBlockNumbering.h
StandardPasses.h
StringPool.h Convert StringMap to using StringRef for its APIs. 2009-07-23 18:17:34 +00:00
SystemUtils.h eliminate the ostream version of CheckBitcodeOutputToConsole, 2009-08-23 21:36:09 +00:00
TargetFolder.h Add convenience functions for creating nsw add operators. 2009-08-11 20:20:39 +00:00
Timer.h remove some uses of llvm/Support/Streams.h 2009-08-23 08:43:55 +00:00
type_traits.h This void is implicit in C++. 2009-08-12 22:10:57 +00:00
TypeBuilder.h Push LLVMContexts through the IntegerType APIs. 2009-08-13 21:58:54 +00:00
ValueHandle.h To catch bugs like the one fixed in 2009-08-07 19:54:29 +00:00