History log of /external/llvm/lib/Support/CrashRecoveryContext.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e0af267bc2ee95108b6a0e2128b70421ed68f999 21-Apr-2012 Nuno Lopes <nunoplopes@sapo.pt> move Signals to .rodata

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155283 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/CrashRecoveryContext.cpp
b0934ab7d811e23bf530371976b8b35f3242169c 19-Feb-2012 Ahmed Charles <ace2001ac@gmail.com> Remove dead code. Improve llvm_unreachable text. Simplify some control flow.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150918 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/CrashRecoveryContext.cpp
77c108241aae7d19d9d620b10ced8e783c7c8202 20-Aug-2011 NAKAMURA Takumi <geek4civic@gmail.com> lib/Support/CrashRecoveryContext.cpp: Add Win32 support to CrashRecoveryContext. Thanks to Aaron Ballman!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138199 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/CrashRecoveryContext.cpp
3311d951e22b133207ed6f8e384d80f0970a7fb3 22-Mar-2011 Ted Kremenek <kremenek@apple.com> Properly initialize all fields in CrashReporterCleanupContext. This caused the buildbot failure earlier.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128071 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/CrashRecoveryContext.cpp
07235a170596de529de18dc79b98962b55788d44 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128065 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/CrashRecoveryContext.cpp
b52fde4185cd724f51aae4018b0f8278732379c7 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128008 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/CrashRecoveryContext.cpp
1a06d5721acb9a2b69217fc8872ed5b14a482104 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 pseudo re-entrant.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127929 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/CrashRecoveryContext.cpp
fb200e30a48c3e682742174453d9550d1dc589d5 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 compiling code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127928 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/CrashRecoveryContext.cpp
a4f983970133c934d6af66dc8dc50fbf908c31dd 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127849 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/CrashRecoveryContext.cpp
1f6efa3996dd1929fbc129203ce5009b620e6969 29-Nov-2010 Michael J. Spencer <bigcheesegs@gmail.com> Merge System into Support.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120298 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/CrashRecoveryContext.cpp
f8254d647352f8f194b4753a25d582758289e497 05-Nov-2010 Daniel Dunbar <daniel@zuster.org> CrashRecoveryContext: Add RunSafelyOnThread helper function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118272 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/CrashRecoveryContext.cpp
d49e2aa5b89758b3b8841fa427e3c9e90f2e30b2 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116755 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/CrashRecoveryContext.cpp
ebe7eb884e30c8e9e9f44f499d75ee39cc6c6d6e 18-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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111309 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/CrashRecoveryContext.cpp
a8fa798246503c726b02b415bb1f1b26bc0b0159 18-Aug-2010 Daniel Dunbar <daniel@zuster.org> CrashRecovery: Add CrashRecoveryContext::GetCurrent(), so clients can find the active context from anywhere.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111308 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/CrashRecoveryContext.cpp
c0c815e887d72414894930b62221acc32488c2d0 18-Aug-2010 Daniel Dunbar <daniel@zuster.org> CrashRecovery: Make CrashRecoveryContext static methods thread safe.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111307 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/CrashRecoveryContext.cpp
63cc2e1982bd02b6484bba3fc0103c688f13711b 30-Jul-2010 Daniel Dunbar <daniel@zuster.org> Fix -Wmissing-field-initializers warnings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109872 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/CrashRecoveryContext.cpp
a685582048ab2714b854acf228bd8b61def1ca53 29-Jul-2010 Daniel Dunbar <daniel@zuster.org> CrashRecovery: Use ThreadLocal::erase() instead of set(0).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109752 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/CrashRecoveryContext.cpp
dade28ee4eeaa9d22dac986666de4005e1309a06 29-Jul-2010 Daniel Dunbar <daniel@zuster.org> Make sure to include config.h, to pickup LLVM_ON_WIN32.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109721 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/CrashRecoveryContext.cpp
d9082dfd9ab442dd33f552693fcc0f396a514bb6 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 particular annoying
on Darwin, because SIGABRT tends to go to the main thread.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109717 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/CrashRecoveryContext.cpp
a309dac868e591d7254f570b950a50f640c009f8 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 recovery.

- Currently doesn't actually attempt to catch crashes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109586 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/CrashRecoveryContext.cpp