History log of /external/llvm/lib/Support/CrashRecoveryContext.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4c5e43da7792f75567b693105cc53e3f1992ad98 08-Apr-2015 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master llvm for rebase to r233350

Change-Id: I07d935f8793ee8ec6b7da003f6483046594bca49
/external/llvm/lib/Support/CrashRecoveryContext.cpp
c6a4f5e819217e1e12c458aed8e7b122e23a3a58 21-Jul-2014 Stephen Hines <srhines@google.com> Update LLVM for rebase to r212749.

Includes a cherry-pick of:
r212948 - fixes a small issue with atomic calls

Change-Id: Ib97bd980b59f18142a69506400911a6009d9df18
/external/llvm/lib/Support/CrashRecoveryContext.cpp
dce4a407a24b04eebc6a376f8e62b41aaa7b071f 29-May-2014 Stephen Hines <srhines@google.com> Update LLVM for 3.5 rebase (r209712).

Change-Id: I149556c940fb7dc92d075273c87ff584f400941f
/external/llvm/lib/Support/CrashRecoveryContext.cpp
36b56886974eae4f9c5ebc96befd3e7bfe5de338 24-Apr-2014 Stephen Hines <srhines@google.com> Update to LLVM 3.5a.

Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
/external/llvm/lib/Support/CrashRecoveryContext.cpp
63fe0669ad5005aacd89f57855d30f905a7dbd92 12-Sep-2013 Filip Pizlo <fpizlo@apple.com> This switches CrashRecoveryContext to using ManagedStatic for its global Mutex and
global ThreadLocals, thereby getting rid of the load-time initialization of those
objects and also getting rid of their destruction unless the LLVM client calls
llvm_shutdown.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190617 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/CrashRecoveryContext.cpp
4e91fa3834008778b10d6770f9872c50e1e75659 20-Jun-2013 Argyrios Kyrtzidis <akyrtzi@gmail.com> [Support/CrashRecoveryContext] Make sure CrashRecoveryContext does not clear the thread-local "CurrentContext"
in the "parent" thread, when we are using CrashRecoveryContext::RunSafelyOnThread.

When using CrashRecoveryContext::RunSafelyOnThread, we would set a CrashRecoveryContextImpl* to a thread-local variable
for the "child" thread, but CrashRecoveryContext would erroneously clear it in the "parent" thread.

The result was that if CrashRecoveryContext::RunSafelyOnThread was called again in the "child" thread it would mess up
crash-recovery for its parent.

A test for this will be added in the clang repository.
rdar://14204560

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184380 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/CrashRecoveryContext.cpp
d04a8d4b33ff316ca4cf961e06c9e312eff8e64f 03-Dec-2012 Chandler Carruth <chandlerc@gmail.com> Use the new script to sort the includes of every file under lib.

Sooooo many of these had incorrect or strange main module includes.
I have manually inspected all of these, and fixed the main module
include to be the nearest plausible thing I could find. If you own or
care about any of these source files, I encourage you to take some time
and check that these edits were sensible. I can't have broken anything
(I strictly added headers, and reordered them, never removed), but they
may not be the headers you'd really like to identify as containing the
API being implemented.

Many forward declarations and missing includes were added to a header
files to allow them to parse cleanly when included first. The main
module rule does in fact have its merits. =]

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