History log of /llvm-project/llvm/lib/Support/ErrorHandling.cpp (Results 51 – 73 of 73)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-3.2.0-rc2, llvmorg-3.2.0-rc1
# 379574fd 13-Nov-2012 Chad Rosier <mcrosier@apple.com>

Revert 167755/167760. We don't want to emit crash diagnostics on command-line syntax errors.

llvm-svn: 167849


# 2b2b38d3 12-Nov-2012 Chad Rosier <mcrosier@apple.com>

Revert r167620; this can be implemented using an existing CL option.

llvm-svn: 167755


Revision tags: llvmorg-3.1.0, llvmorg-3.1.0-rc3, llvmorg-3.1.0-rc2, llvmorg-3.1.0-rc1, llvmorg-3.0.0, llvmorg-3.0.0-rc4, llvmorg-3.0.0-rc3, llvmorg-3.0.0-rc2, llvmorg-3.0.0-rc1
# 72e705ed 23-Apr-2011 Jay Foad <jay.foad@gmail.com>

Like the coding standards say, do not use "using namespace std".

llvm-svn: 130054


Revision tags: llvmorg-2.9.0, llvmorg-2.9.0-rc3, llvmorg-2.9.0-rc2, llvmorg-2.9.0-rc1
# 447762da 29-Nov-2010 Michael J. Spencer <bigcheesegs@gmail.com>

Merge System into Support.

llvm-svn: 120298


# 2ed3fe08 13-Nov-2010 Daniel Dunbar <daniel@zuster.org>

report_fatal_error: Simplify a possible ambiguity.

llvm-svn: 118972


Revision tags: llvmorg-2.8.0, llvmorg-2.8.0-rc3, llvmorg-2.8.0-rc2
# c8ba8d20 16-Sep-2010 Duncan Sands <baldrick@free.fr>

Some versions of gcc still warn about "ignoring return value ... declared
with attribute warn_unused_result" here - suppress the warning harder.

llvm-svn: 114072


Revision tags: llvmorg-2.8.0-rc1, llvmorg-2.8.0-rc0
# 3490ff40 18-Aug-2010 Dan Gohman <gohman@apple.com>

Tidy.

llvm-svn: 111432


# 7aa9eb16 17-Aug-2010 Chris Lattner <sabre@nondot.org>

include config.h to get config params, hopefully unbreaking mingw builder.

llvm-svn: 111325


# 6217082d 17-Aug-2010 Chris Lattner <sabre@nondot.org>

report_fatal_error can't use errs(), because errs() can call
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


# 401d4c93 08-May-2010 Daniel Dunbar <daniel@zuster.org>

Run interrupt routines as part of report_fatal_error, since we are failing
ungracefully.

llvm-svn: 103334


Revision tags: llvmorg-2.7.0
# 59c57531 07-Apr-2010 Chris Lattner <sabre@nondot.org>

rename llvm_install_error_handler -> install_fatal_error_handler
and friends.

llvm-svn: 100717


# 2104b8d3 07-Apr-2010 Chris Lattner <sabre@nondot.org>

rename llvm::llvm_report_error -> llvm::report_fatal_error

llvm-svn: 100709


# b452d4e9 24-Mar-2010 Dan Gohman <gohman@apple.com>

Fix minor style issues.

llvm-svn: 99414


# 80604d5f 05-Jan-2010 David Greene <greened@obbligato.org>

Change errs() to dbgs().

llvm-svn: 92637


Revision tags: llvmorg-2.6.0
# e392e623 20-Aug-2009 Dan Gohman <gohman@apple.com>

Add a comment explaining why llvm_unreachable_internal doesn't call
the ErrorHandler callback.

llvm-svn: 79541


# 1432ef86 12-Aug-2009 Dan Gohman <gohman@apple.com>

This void is implicit in C++.

llvm-svn: 78848


# 1bf60c25 10-Aug-2009 Daniel Dunbar <daniel@zuster.org>

Add support for a user supplied pointer argument to llvm_install_error_handler.

llvm-svn: 78553


# cd51ea51 24-Jul-2009 Daniel Dunbar <daniel@zuster.org>

Allow llvm_report_error to accept a Twine.

llvm-svn: 76961


# fbcc663c 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 i

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").

llvm-svn: 75640

show more ...


# 1ab40bef 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.

llvm-svn: 75631


# 56d06597 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 bu

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.

llvm-svn: 75379

show more ...


# 973c214c 07-Jul-2009 Torok Edwin <edwintorok@gmail.com>

Fix braces.

llvm-svn: 74923


# 6c2d233e 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

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

show more ...


123