1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/lib/Support
Dan Gohman f01e53a482 Change raw_ostream so that it doesn't call llvm_report_error
immediately on every output error. Instead, add a flag to
raw_ostream, and set the flag whenever an error is detected.

The flag can be queried and cleared from the public API. This
gives applications more flexibility to handling errors in
application-specific ways.

If the flag is not cleared when the raw_ostream is destructed,
llvm_report_error is called from the destructor. This ensures
that errors are not implicitly silenced, and provides
convenient default behavior for tools like llc and opt.
Clients wishing to avoid llvm_report_error calls from
raw_ostream should check for errors and clear the error flag.

llvm-svn: 75857
2009-07-15 23:25:33 +00:00
..
Allocator.cpp
Annotation.cpp Have scoped mutexes take referenes instead of pointers. 2009-07-07 18:33:04 +00:00
APFloat.cpp llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. 2009-07-14 16:55:14 +00:00
APInt.cpp llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. 2009-07-14 16:55:14 +00:00
APSInt.cpp
CMakeLists.txt Update CMake file. 2009-07-15 05:39:55 +00:00
CommandLine.cpp llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. 2009-07-14 16:55:14 +00:00
ConstantRange.cpp Fix an error in ConstantRange::getSignedMax on wrapped ranges. Thanks once 2009-07-13 04:50:21 +00:00
Debug.cpp
Dwarf.cpp llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. 2009-07-14 16:55:14 +00:00
ErrorHandling.cpp llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. 2009-07-14 16:55:14 +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 minor syntax cleanup 2009-07-14 23:14:10 +00:00
GraphWriter.cpp Add support for other GraphViz display tools. This can help 2009-07-09 17:06:18 +00:00
IsInf.cpp
IsNAN.cpp
Makefile Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
ManagedStatic.cpp Split the thread-related APIs out into their own file, and add a few more 2009-06-16 17:33:51 +00:00
MemoryBuffer.cpp Tweak MemoryBuffer::getSTDIN so that it returns after the first EOF. 2009-05-18 08:44:04 +00:00
PluginLoader.cpp Have scoped mutexes take referenes instead of pointers. 2009-07-07 18:33:04 +00:00
PrettyStackTrace.cpp Support thread-local pretty stack traces. 2009-06-25 23:31:33 +00:00
raw_ostream.cpp Change raw_ostream so that it doesn't call llvm_report_error 2009-07-15 23:25:33 +00:00
SlowOperationInformer.cpp
SmallPtrSet.cpp
SourceMgr.cpp switch the .ll parser to use SourceMgr. 2009-07-02 23:08:13 +00:00
Statistic.cpp Have scoped mutexes take referenes instead of pointers. 2009-07-07 18:33:04 +00:00
Streams.cpp
StringExtras.cpp teach EscapeString and UnescapeString to handle ". 2009-04-15 20:12:52 +00:00
StringMap.cpp
StringPool.cpp
SystemUtils.cpp Add a raw_ostream version of CheckBitcodeOutputToConsole. 2009-07-15 17:04:50 +00:00
TargetRegistry.cpp Reapply TargetRegistry refactoring commits. 2009-07-15 20:24:03 +00:00
Timer.cpp Have scoped mutexes take referenes instead of pointers. 2009-07-07 18:33:04 +00:00
Triple.cpp Add NetBSD to the Triple class, patch by Krister Walfridsson! 2009-07-13 20:22:23 +00:00