summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/CrashRecoveryContext.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2014-06-10 18:03:04 +0000
committerZachary Turner <zturner@google.com>2014-06-10 18:03:04 +0000
commita40ccf620bdeaea2ac63d3c9f6d238f2ee62eb9d (patch)
tree55c4483060803e30653c85cf27e4d7f447197f88 /llvm/lib/Support/CrashRecoveryContext.cpp
parent9d06a8d06051b276d2b25af8b4e5c0c577db421d (diff)
downloadbcm5719-llvm-a40ccf620bdeaea2ac63d3c9f6d238f2ee62eb9d.tar.gz
bcm5719-llvm-a40ccf620bdeaea2ac63d3c9f6d238f2ee62eb9d.zip
Test commit, wraps some lines to fit in 80 columns.
llvm-svn: 210551
Diffstat (limited to 'llvm/lib/Support/CrashRecoveryContext.cpp')
-rw-r--r--llvm/lib/Support/CrashRecoveryContext.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/Support/CrashRecoveryContext.cpp b/llvm/lib/Support/CrashRecoveryContext.cpp
index a426377042d..016c805cc7a 100644
--- a/llvm/lib/Support/CrashRecoveryContext.cpp
+++ b/llvm/lib/Support/CrashRecoveryContext.cpp
@@ -22,7 +22,8 @@ namespace {
struct CrashRecoveryContextImpl;
-static ManagedStatic<sys::ThreadLocal<const CrashRecoveryContextImpl> > CurrentContext;
+static ManagedStatic<
+ sys::ThreadLocal<const CrashRecoveryContextImpl> > CurrentContext;
struct CrashRecoveryContextImpl {
CrashRecoveryContext *CRC;
@@ -231,7 +232,8 @@ void CrashRecoveryContext::Disable() {
#include <signal.h>
-static const int Signals[] = { SIGABRT, SIGBUS, SIGFPE, SIGILL, SIGSEGV, SIGTRAP };
+static const int Signals[] =
+ { SIGABRT, SIGBUS, SIGFPE, SIGILL, SIGSEGV, SIGTRAP };
static const unsigned NumSignals = sizeof(Signals) / sizeof(Signals[0]);
static struct sigaction PrevActions[NumSignals];
OpenPOWER on IntegriCloud