summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2017-10-15 04:18:29 +0000
committerVitaly Buka <vitalybuka@google.com>2017-10-15 04:18:29 +0000
commitac03fb616f27bcc49455ba101602579cf1c54928 (patch)
tree72b570393f0c17f3cf22c9d4b58f0b71239f0b1a
parent39690bdf429bc4aa0fb70ee454e6d602a77d0a39 (diff)
downloadbcm5719-llvm-ac03fb616f27bcc49455ba101602579cf1c54928.tar.gz
bcm5719-llvm-ac03fb616f27bcc49455ba101602579cf1c54928.zip
[asan] Increase kHandlerStackSize for TracerThreadSignalHandler
4096 is not enough on some platform, e.g. Debian 4.9.0-3-amd64 llvm-svn: 315844
-rw-r--r--compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc b/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
index 7e89d0cc885..e1cb6f76f2c 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
@@ -263,7 +263,7 @@ static void TracerThreadSignalHandler(int signum, void *siginfo, void *uctx) {
}
// 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) {
OpenPOWER on IntegriCloud