Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge System into Support. | Michael J. Spencer | 2010-11-29 | 1 | -2/+2 |
| | | | | llvm-svn: 120298 | ||||
* | report_fatal_error: Simplify a possible ambiguity. | Daniel Dunbar | 2010-11-13 | 1 | -0/+4 |
| | | | | llvm-svn: 118972 | ||||
* | Some versions of gcc still warn about "ignoring return value ... declared | Duncan Sands | 2010-09-16 | 1 | -1/+2 |
| | | | | | | with attribute warn_unused_result" here - suppress the warning harder. llvm-svn: 114072 | ||||
* | Tidy. | Dan Gohman | 2010-08-18 | 1 | -5/+4 |
| | | | | llvm-svn: 111432 | ||||
* | include config.h to get config params, hopefully unbreaking mingw builder. | Chris Lattner | 2010-08-17 | 1 | -0/+1 |
| | | | | llvm-svn: 111325 | ||||
* | report_fatal_error can't use errs(), because errs() can call | Chris Lattner | 2010-08-17 | 1 | -8/+26 |
| | | | | | | | into report_fatal_error. Just blast the string to stderr with write(2) and hope for the best! Part of rdar://8318441 llvm-svn: 111320 | ||||
* | Run interrupt routines as part of report_fatal_error, since we are failing | Daniel Dunbar | 2010-05-08 | 1 | -0/+7 |
| | | | | | | ungracefully. llvm-svn: 103334 | ||||
* | rename llvm_install_error_handler -> install_fatal_error_handler | Chris Lattner | 2010-04-07 | 1 | -16/+13 |
| | | | | | | and friends. llvm-svn: 100717 | ||||
* | rename llvm::llvm_report_error -> llvm::report_fatal_error | Chris Lattner | 2010-04-07 | 1 | -5/+5 |
| | | | | llvm-svn: 100709 | ||||
* | Fix minor style issues. | Dan Gohman | 2010-03-24 | 1 | -3/+2 |
| | | | | llvm-svn: 99414 | ||||
* | Change errs() to dbgs(). | David Greene | 2010-01-05 | 1 | -4/+5 |
| | | | | llvm-svn: 92637 | ||||
* | Add a comment explaining why llvm_unreachable_internal doesn't call | Dan Gohman | 2009-08-20 | 1 | -0/+3 |
| | | | | | | the ErrorHandler callback. llvm-svn: 79541 | ||||
* | This void is implicit in C++. | Dan Gohman | 2009-08-12 | 1 | -1/+1 |
| | | | | llvm-svn: 78848 | ||||
* | Add support for a user supplied pointer argument to llvm_install_error_handler. | Daniel Dunbar | 2009-08-10 | 1 | -2/+6 |
| | | | | llvm-svn: 78553 | ||||
* | Allow llvm_report_error to accept a Twine. | Daniel Dunbar | 2009-07-24 | 1 | -3/+12 |
| | | | | llvm-svn: 76961 | ||||
* | llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. | Torok Edwin | 2009-07-14 | 1 | -1/+1 |
| | | | | | | | | | This adds location info for all llvm_unreachable calls (which is a macro now) in !NDEBUG builds. In NDEBUG builds location info and the message is off (it only prints "UREACHABLE executed"). llvm-svn: 75640 | ||||
* | After converting assert(0) to LLVM_UNREACHABLE we lost file/line location. | Torok Edwin | 2009-07-14 | 1 | -1/+5 |
| | | | | | | | Fix by making the LLVM_UNREACHABLE pass __FILE__ and __LINE__ to llvm_unreachable. llvm-svn: 75631 | ||||
* | assert(0) -> LLVM_UNREACHABLE. | Torok Edwin | 2009-07-11 | 1 | -1/+3 |
| | | | | | | | | | Make llvm_unreachable take an optional string, thus moving the cerr<< out of line. LLVM_UNREACHABLE is now a simple wrapper that makes the message go away for NDEBUG builds. llvm-svn: 75379 | ||||
* | Fix braces. | Torok Edwin | 2009-07-07 | 1 | -4/+2 |
| | | | | llvm-svn: 74923 | ||||
* | Introduce new error handling API. | Torok Edwin | 2009-07-07 | 1 | -0/+53 |
This will replace exit()/abort() style error handling with an API that allows clients to register custom error handling hooks. The default is to call exit(1) when no error handler is provided. llvm-svn: 74922 |