llvm-6502/lib
Dan Gohman e87b2abe91 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75857 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-15 23:25:33 +00:00
..
Analysis Lexically order files in CMakeLists.txt files. 2009-07-15 21:08:16 +00:00
Archive Fix some non-sensical code. 2009-07-13 05:29:34 +00:00
AsmParser Move EVER MORE stuff over to LLVMContext. 2009-07-14 23:09:55 +00:00
Bitcode Move EVER MORE stuff over to LLVMContext. 2009-07-14 23:09:55 +00:00
CodeGen Lift DumpAsm / -print-emitted-asm functionality into LLVMTargetMachine. 2009-07-15 22:33:19 +00:00
CompilerDriver Delete the temp dir even when '--temp-dir' is specified. 2009-07-11 19:27:07 +00:00
Debugger
ExecutionEngine Reapply TargetRegistry refactoring commits. 2009-07-15 20:24:03 +00:00
Linker llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. 2009-07-14 16:55:14 +00:00
MC Added llvm-mc support for parsing the .dump and .load directives. 2009-07-15 15:30:11 +00:00
Support Change raw_ostream so that it doesn't call llvm_report_error 2009-07-15 23:25:33 +00:00
System Lexically order files in CMakeLists.txt files. 2009-07-15 21:08:16 +00:00
Target Register AsmPrinter for XCore, MSP430, and PIC16 targets. 2009-07-15 23:17:20 +00:00
Transforms Switch invars away from using isTrapping when it really shouldn't be 2009-07-15 22:48:29 +00:00
VMCore Update the C bindings to keep the LLVMTypeKind up to date between the C/C++ 2009-07-15 22:00:31 +00:00
Makefile LLVMC doesn't need ENABLE_PIC to build now. 2009-07-04 03:54:54 +00:00