summaryrefslogtreecommitdiff
path: root/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
commit9a7d793fd10bd4181c16ebbc27f99cb7a987a5b8 (patch)
tree4285f0947e60cfab05c9621c24263c52fab07bb7 /lib/Support/CrashRecoveryContext.cpp
parentc4f93703913ee803d65825153c0cc77c575cc296 (diff)
downloadllvm-9a7d793fd10bd4181c16ebbc27f99cb7a987a5b8.tar.gz
llvm-9a7d793fd10bd4181c16ebbc27f99cb7a987a5b8.tar.bz2
llvm-9a7d793fd10bd4181c16ebbc27f99cb7a987a5b8.tar.xz
Test commit, wraps some lines to fit in 80 columns.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210551 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/CrashRecoveryContext.cpp')
-rw-r--r--lib/Support/CrashRecoveryContext.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Support/CrashRecoveryContext.cpp b/lib/Support/CrashRecoveryContext.cpp
index a426377042..016c805cc7 100644
--- a/lib/Support/CrashRecoveryContext.cpp
+++ b/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];