From e3c17f18663a16b332846f3971ea1ab38cc7639c Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Thu, 14 Sep 2017 22:43:53 +0000 Subject: [asan] Remove ErrorStackOverflow Summary: The only difference from ErrorDeadlySignal is reporting code and it lives in sanitizer common. Part of https://github.com/google/sanitizers/issues/637 Reviewers: eugenis, alekseyshl, filcab Subscribers: llvm-commits, kubamracek Differential Revision: https://reviews.llvm.org/D37868 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@313309 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/asan/asan_report.cc | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/asan/asan_report.cc') diff --git a/lib/asan/asan_report.cc b/lib/asan/asan_report.cc index 6055304e8..7e83466cc 100644 --- a/lib/asan/asan_report.cc +++ b/lib/asan/asan_report.cc @@ -260,12 +260,6 @@ StaticSpinMutex ScopedInErrorReport::lock_; u32 ScopedInErrorReport::reporting_thread_tid_ = kInvalidTid; ErrorDescription ScopedInErrorReport::current_error_; -void ReportStackOverflow(const SignalContext &sig) { - ScopedInErrorReport in_report(/*fatal*/ true); - ErrorStackOverflow error(GetCurrentTidOrInvalid(), sig); - in_report.ReportError(error); -} - void ReportDeadlySignal(const SignalContext &sig) { ScopedInErrorReport in_report(/*fatal*/ true); ErrorDeadlySignal error(GetCurrentTidOrInvalid(), sig); -- cgit v1.2.3