diff options
| author | 2017-01-14 19:55:43 +0000 | |
|---|---|---|
| committer | 2017-01-14 19:55:43 +0000 | |
| commit | bd3306aecb3a15e8967143b8cdbbccf2b1b19b74 (patch) | |
| tree | 309a8132b44564b9e634c0da6815187ce8eab27c /gnu/llvm/lib/Support/CrashRecoveryContext.cpp | |
| parent | killp -a should not kill the window if only one pane. (diff) | |
| download | wireguard-openbsd-bd3306aecb3a15e8967143b8cdbbccf2b1b19b74.tar.xz wireguard-openbsd-bd3306aecb3a15e8967143b8cdbbccf2b1b19b74.zip | |
Import LLVM 3.9.1 including clang and lld.
Diffstat (limited to 'gnu/llvm/lib/Support/CrashRecoveryContext.cpp')
| -rw-r--r-- | gnu/llvm/lib/Support/CrashRecoveryContext.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gnu/llvm/lib/Support/CrashRecoveryContext.cpp b/gnu/llvm/lib/Support/CrashRecoveryContext.cpp index 3f4ef9da48f..98865f5e065 100644 --- a/gnu/llvm/lib/Support/CrashRecoveryContext.cpp +++ b/gnu/llvm/lib/Support/CrashRecoveryContext.cpp @@ -31,7 +31,6 @@ struct CrashRecoveryContextImpl { const CrashRecoveryContextImpl *Next; CrashRecoveryContext *CRC; - std::string Backtrace; ::jmp_buf JumpBuffer; volatile unsigned Failed : 1; unsigned SwitchedThread : 1; @@ -335,13 +334,6 @@ void CrashRecoveryContext::HandleCrash() { CRCI->HandleCrash(); } -const std::string &CrashRecoveryContext::getBacktrace() const { - CrashRecoveryContextImpl *CRC = (CrashRecoveryContextImpl *) Impl; - assert(CRC && "Crash recovery context never initialized!"); - assert(CRC->Failed && "No crash was detected!"); - return CRC->Backtrace; -} - // FIXME: Portability. static void setThreadBackgroundPriority() { #ifdef __APPLE__ |
