Torok Edwin
980729667e
Convert more abort() calls to llvm_report_error().
...
Also remove trailing semicolon.
llvm-svn: 75027
2009-07-08 19:04:27 +00:00
Torok Edwin
ad3be984b7
Start converting to new error handling API.
...
cerr+abort -> llvm_report_error
assert(0)+abort -> LLVM_UNREACHABLE (assert(0)+llvm_unreachable-> abort() included)
llvm-svn: 75018
2009-07-08 18:01:40 +00:00
Chris Lattner
b19709485f
convert comments to doxygen style
...
llvm-svn: 75015
2009-07-08 17:09:18 +00:00
Alisdair Meredith
6be064d4d6
Trial first commit
...
Fixed build, requires std header before using std::string
llvm-svn: 74995
2009-07-08 09:04:19 +00:00
Torok Edwin
375564339a
Introduce new error handling API.
...
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
2009-07-07 17:32:34 +00:00