[compiler-rt] r315844 - [asan] Increase kHandlerStackSize for TracerThreadSignalHandler
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 14 21:18:29 PDT 2017
Author: vitalybuka
Date: Sat Oct 14 21:18:29 2017
New Revision: 315844
URL: http://llvm.org/viewvc/llvm-project?rev=315844&view=rev
Log:
[asan] Increase kHandlerStackSize for TracerThreadSignalHandler
4096 is not enough on some platform, e.g. Debian 4.9.0-3-amd64
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc?rev=315844&r1=315843&r2=315844&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc Sat Oct 14 21:18:29 2017
@@ -263,7 +263,7 @@ static void TracerThreadSignalHandler(in
}
// Size of alternative stack for signal handlers in the tracer thread.
-static const int kHandlerStackSize = 4096;
+static const int kHandlerStackSize = 8192;
// This function will be run as a cloned task.
static int TracerThread(void* argument) {
More information about the llvm-commits
mailing list