History log of /llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp (Results 76 – 94 of 94)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-3.1.0-rc1
# 636a3d61 19-Feb-2012 Ahmed Charles <ace2001ac@gmail.com>

Remove dead code. Improve llvm_unreachable text. Simplify some control flow.

llvm-svn: 150918


Revision tags: llvmorg-3.0.0, llvmorg-3.0.0-rc4, llvmorg-3.0.0-rc3, llvmorg-3.0.0-rc2, llvmorg-3.0.0-rc1
# 1eae12cc 20-Aug-2011 NAKAMURA Takumi <geek4civic@gmail.com>

lib/Support/CrashRecoveryContext.cpp: Add Win32 support to CrashRecoveryContext. Thanks to Aaron Ballman!

llvm-svn: 138199


Revision tags: llvmorg-2.9.0, llvmorg-2.9.0-rc3, llvmorg-2.9.0-rc2
# 857e5355 22-Mar-2011 Ted Kremenek <kremenek@apple.com>

Properly initialize all fields in CrashReporterCleanupContext. This caused the buildbot failure earlier.

llvm-svn: 128071


# 99316527 22-Mar-2011 Ted Kremenek <kremenek@apple.com>

Temporarily stop recovering resources in CrashRecoveryContext while I investigate further why this works on my machine and not on others.

llvm-svn: 128065


# ab1a242e 21-Mar-2011 Ted Kremenek <kremenek@apple.com>

Provide a means for CrashRecovery clients to determine if code is currently running while crash recovery cleanups are being processed.

llvm-svn: 128008


# 32aea2e4 19-Mar-2011 Ted Kremenek <kremenek@apple.com>

Tweak CrashRecoveryContextCleanup to provide an easy method for clients to select between 'delete' and 'destructor' cleanups, and allow the destructor of CrashRecoveryContextCleanupRegister to be pse

Tweak CrashRecoveryContextCleanup to provide an easy method for clients to select between 'delete' and 'destructor' cleanups, and allow the destructor of CrashRecoveryContextCleanupRegister to be pseudo re-entrant.

llvm-svn: 127929

show more ...


# 794a0714 19-Mar-2011 Ted Kremenek <kremenek@apple.com>

Tweak CrashRecoveryContext::GetCurrent() to return quickly if 'gCrsahRecoveryEnabled' is false. This avoids us needing to go to thread local storage for
the performance sensitive case where we are c

Tweak CrashRecoveryContext::GetCurrent() to return quickly if 'gCrsahRecoveryEnabled' is false. This avoids us needing to go to thread local storage for
the performance sensitive case where we are compiling code.

llvm-svn: 127928

show more ...


# c44d3cf5 18-Mar-2011 Ted Kremenek <kremenek@apple.com>

Augment CrashRecoveryContext to have registered "cleanup" objects that can be used to release resources during a crash.

llvm-svn: 127849


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

Merge System into Support.

llvm-svn: 120298


# f4d90ba9 05-Nov-2010 Daniel Dunbar <daniel@zuster.org>

CrashRecoveryContext: Add RunSafelyOnThread helper function.

llvm-svn: 118272


# 418e7046 18-Oct-2010 Daniel Dunbar <daniel@zuster.org>

CrashRecoveryContext: Add missing return, so that the signal fires after we our
routine is off the stack. Otherwise we show up rather confusingly in the stack
trace.

llvm-svn: 116755


Revision tags: llvmorg-2.8.0, llvmorg-2.8.0-rc3, llvmorg-2.8.0-rc2, llvmorg-2.8.0-rc1, llvmorg-2.8.0-rc0
# 09b0c789 17-Aug-2010 Daniel Dunbar <daniel@zuster.org>

CrashRecovery: Clear the current context on the first crash, to avoid re-entering it if the cleanup code crashes.

llvm-svn: 111309


# b30266ed 17-Aug-2010 Daniel Dunbar <daniel@zuster.org>

CrashRecovery: Add CrashRecoveryContext::GetCurrent(), so clients can find the active context from anywhere.

llvm-svn: 111308


# ff329942 17-Aug-2010 Daniel Dunbar <daniel@zuster.org>

CrashRecovery: Make CrashRecoveryContext static methods thread safe.

llvm-svn: 111307


# c90e82a7 30-Jul-2010 Daniel Dunbar <daniel@zuster.org>

Fix -Wmissing-field-initializers warnings.

llvm-svn: 109872


# 4a338e3d 29-Jul-2010 Daniel Dunbar <daniel@zuster.org>

CrashRecovery: Use ThreadLocal::erase() instead of set(0).

llvm-svn: 109752


# 9789f81e 29-Jul-2010 Daniel Dunbar <daniel@zuster.org>

Make sure to include config.h, to pickup LLVM_ON_WIN32.

llvm-svn: 109721


# af77e22b 29-Jul-2010 Daniel Dunbar <daniel@zuster.org>

CrashRecoveryContext: Add a simple POSIX implementation.
- This works, but won't handle crashes on stack overflow, or signals delivered
to a thread other than the one that crashed. The latter is

CrashRecoveryContext: Add a simple POSIX implementation.
- This works, but won't handle crashes on stack overflow, or signals delivered
to a thread other than the one that crashed. The latter is particular annoying
on Darwin, because SIGABRT tends to go to the main thread.

llvm-svn: 109717

show more ...


# 19a3b374 28-Jul-2010 Daniel Dunbar <daniel@zuster.org>

Support: Add CrashRecoveryContext helper object.
- Designed as a simple wrapper to allow clients to attempt to catch crashes
(memory errors, assertion violations, etc.) and do some kind of recove

Support: Add CrashRecoveryContext helper object.
- Designed as a simple wrapper to allow clients to attempt to catch crashes
(memory errors, assertion violations, etc.) and do some kind of recovery.

- Currently doesn't actually attempt to catch crashes.

llvm-svn: 109586

show more ...


1234