diff options
author | Vitaly Buka <vitalybuka@google.com> | 2017-09-18 06:56:57 +0000 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2017-09-18 06:56:57 +0000 |
commit | fabb9da5777dcbf106a0aa2b6895bbe31521ed5b (patch) | |
tree | 6c4cd93dacf909f852c3e00b949514b547a7c26f /lib/asan/asan_stack.h | |
parent | 7c29ef848de951da429abe7438a85c678ea3e6f6 (diff) |
[asan] Remove ScopedDeadlySignal
This is used only to make fast = true in GetStackTraceWithPcBpAndContext
on SANITIZER_FREEBSD and SANITIZER_NETBSD and can be done explicitly.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@313517 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_stack.h')
-rw-r--r-- | lib/asan/asan_stack.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/asan/asan_stack.h b/lib/asan/asan_stack.h index 9f7b102c6..9ee7f5c0c 100644 --- a/lib/asan/asan_stack.h +++ b/lib/asan/asan_stack.h @@ -41,12 +41,6 @@ void GetStackTraceWithPcBpAndContext(BufferedStackTrace *stack, uptr max_depth, stack->size = 0; if (LIKELY(asan_inited)) { if ((t = GetCurrentThread()) && !t->isUnwinding()) { - // On FreeBSD the slow unwinding that leverages _Unwind_Backtrace() - // yields the call stack of the signal's handler and not of the code - // that raised the signal (as it does on Linux). -#if SANITIZER_FREEBSD || SANITIZER_NETBSD - if (t->isInDeadlySignal()) fast = true; -#endif uptr stack_top = t->stack_top(); uptr stack_bottom = t->stack_bottom(); ScopedUnwinding unwind_scope(t); |