ce945578ee190cefee0cdd987c1c287d04b8536a |
|
27-Mar-2013 |
Chad Rosier <mcrosier@apple.com> |
Add a boolean parameter to the llvm::report_fatal_error() function to indicated if crash diagnostics should be generated. By default this is enabled. Part of rdar://13296693 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178161 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ErrorHandling.h
|
255f89faee13dc491cb64fbeae3c763e7e2ea4e6 |
|
03-Dec-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Sort the #include lines for the include/... tree with the script. AKA: Recompile *ALL* the source code! This one went much better. No manual edits here. I spot-checked for silliness and grep-checked for really broken edits and everything seemed good. It all still compiles. Yell if you see something that looks goofy. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169133 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ErrorHandling.h
|
b121bfcc22660b1bdfb1183b191b6516988bcaf5 |
|
14-Mar-2011 |
John McCall <rjmccall@apple.com> |
Version N of the llvm_unreachable patch: VC++ doesn't recognize that abort() doesn't return, so just go back to using the old runtime function instead of trying to use abort() when __builtin_unreachable (or an equivalent) isn't supported. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127629 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ErrorHandling.h
|
2f9a9ed785416a7350f30141fcc405b69a1b9d5d |
|
14-Mar-2011 |
John McCall <rjmccall@apple.com> |
Make llvm_unreachable evaluate to __builtin_unreachable() in -Asserts builds, which was the apparent consensus of PR8973 and llvmdev. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127608 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ErrorHandling.h
|
afd693cff38ea76188f8f895c75fdf24c90c606a |
|
13-Nov-2010 |
Daniel Dunbar <daniel@zuster.org> |
report_fatal_error: Simplify a possible ambiguity. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118972 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ErrorHandling.h
|
19e57025d458d3cb50804fd821fd89b868a819bd |
|
23-Oct-2010 |
Chandler Carruth <chandlerc@gmail.com> |
Move the remaining attribute macros to systematic names based on the attribute name and prefixed with 'LLVM_'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117203 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ErrorHandling.h
|
e16068240e21650becf9b47a4dc2284531397696 |
|
18-Aug-2010 |
Dan Gohman <gohman@apple.com> |
Introduce a ScopedFatalErrorHandler class to make it easy to register fatal error handlers which automatically get unregistered at the end of a scope. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111398 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ErrorHandling.h
|
b0094c2404d0f826aa736bdb7d4d2fba65ad50b4 |
|
08-Apr-2010 |
Chris Lattner <sabre@nondot.org> |
rename llvm_install_error_handler -> install_fatal_error_handler and friends. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100717 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ErrorHandling.h
|
75361b69f3f327842b9dad69fa7f28ae3b688412 |
|
08-Apr-2010 |
Chris Lattner <sabre@nondot.org> |
rename llvm::llvm_report_error -> llvm::report_fatal_error git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100709 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ErrorHandling.h
|
f88c856a471dd838607293f66b533374d7637fd1 |
|
08-Apr-2010 |
Chris Lattner <sabre@nondot.org> |
minor tidying up git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100702 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ErrorHandling.h
|
66b856683fb67796aa77e52d676c4739e8e47d6d |
|
12-Dec-2009 |
Jeffrey Yasskin <jyasskin@google.com> |
Make it easier to use the llvm_unreachable and DEBUG macros without "using namespace llvm" by qualifying their implementations with ::llvm::. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91206 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ErrorHandling.h
|
7b068610eb68ae02c1c92a98d4a3749c7cb6456c |
|
14-Nov-2009 |
Benjamin Kramer <benny.kra@googlemail.com> |
Make NORETURN working with MSVC. MSVC only accepts NORETURN in front of the decl so move it there. GCC accepts it both in front and after decls. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88791 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ErrorHandling.h
|
583b6dbcc586359e6ea7c3e4ac46bdb708779dce |
|
20-Aug-2009 |
Dan Gohman <gohman@apple.com> |
Add some comments clarifying what appear to be the intent of various error handling mechanisms. Please correct these if I've misunderstood something. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79505 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ErrorHandling.h
|
a9ad04191cb56c42944b17980b8b2bb2afe11ab2 |
|
13-Aug-2009 |
Dan Gohman <gohman@apple.com> |
This void is implicit in C++. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78848 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ErrorHandling.h
|
ca15f3d6d6c29e9cc75225730270e9ef85834a22 |
|
10-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
Add support for a user supplied pointer argument to llvm_install_error_handler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78553 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ErrorHandling.h
|
82a29b6a02324e65847ed99bae84dafb2755ea32 |
|
24-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Allow llvm_report_error to accept a Twine. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76961 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ErrorHandling.h
|
c23197a26f34f559ea9797de51e187087c039c42 |
|
14-Jul-2009 |
Torok Edwin <edwintorok@gmail.com> |
llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. 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"). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75640 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ErrorHandling.h
|
93990d775ea4ac13c9c2614e84fc19a7a2161771 |
|
14-Jul-2009 |
Torok Edwin <edwintorok@gmail.com> |
After converting assert(0) to LLVM_UNREACHABLE we lost file/line location. Fix by making the LLVM_UNREACHABLE pass __FILE__ and __LINE__ to llvm_unreachable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75631 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ErrorHandling.h
|
3b30a2bdcaf6a63690309c0df3dae23defb14005 |
|
12-Jul-2009 |
Torok Edwin <edwintorok@gmail.com> |
Mention that llvm_report_error() does not return. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75428 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ErrorHandling.h
|
97c8c51f075ff49b1f67f6d7d31969212d72512b |
|
11-Jul-2009 |
Torok Edwin <edwintorok@gmail.com> |
Fix comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75380 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ErrorHandling.h
|
c25e7581b9b8088910da31702d4ca21c4734c6d7 |
|
11-Jul-2009 |
Torok Edwin <edwintorok@gmail.com> |
assert(0) -> LLVM_UNREACHABLE. 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75379 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ErrorHandling.h
|
dac237e18209b697a8ba122d0ddd9cad4dfba1f8 |
|
08-Jul-2009 |
Torok Edwin <edwintorok@gmail.com> |
Implement changes from Chris's feedback. Finish converting lib/Target. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75043 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ErrorHandling.h
|
804e0fea4033e3b91dbc8198cef30de30f141bb5 |
|
08-Jul-2009 |
Torok Edwin <edwintorok@gmail.com> |
Convert more abort() calls to llvm_report_error(). Also remove trailing semicolon. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75027 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ErrorHandling.h
|
ab7c09b6b6f4516a631fd6788918c237c83939af |
|
08-Jul-2009 |
Torok Edwin <edwintorok@gmail.com> |
Start converting to new error handling API. cerr+abort -> llvm_report_error assert(0)+abort -> LLVM_UNREACHABLE (assert(0)+llvm_unreachable-> abort() included) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75018 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ErrorHandling.h
|
b6017b03dab80e1e7bfeec4e7debff0fefa9563e |
|
08-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
convert comments to doxygen style git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75015 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ErrorHandling.h
|
13223c98f2fa63c7d718287313c328a813509839 |
|
08-Jul-2009 |
Alisdair Meredith <public@alisdairm.net> |
Trial first commit Fixed build, requires std header before using std::string git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74995 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ErrorHandling.h
|
31e2466f159a887fed9139067a676f65adf2a8c3 |
|
07-Jul-2009 |
Torok Edwin <edwintorok@gmail.com> |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74922 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Support/ErrorHandling.h
|