diff options
author | Francis Ricci <francisjricci@gmail.com> | 2017-03-01 23:18:13 +0000 |
---|---|---|
committer | Francis Ricci <francisjricci@gmail.com> | 2017-03-01 23:18:13 +0000 |
commit | bdc963a98c86f0fa63aa98c44212d0382c76ed28 (patch) | |
tree | b4d2f9cc179230be28284ca7c44b4e60af378245 | |
parent | 9130f1c6bffe8c3899a84462adf75e01fedb1cb1 (diff) | |
download | bcm5719-llvm-bdc963a98c86f0fa63aa98c44212d0382c76ed28.tar.gz bcm5719-llvm-bdc963a98c86f0fa63aa98c44212d0382c76ed28.zip |
Increase stack size for stack-use-after-return test
Summary:
The current size is flaky, as revealed by checking
the stack size attr after setting it.
Reviewers: kubamracek, rnk
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D30267
llvm-svn: 296706
-rw-r--r-- | compiler-rt/test/asan/TestCases/Posix/stack-use-after-return.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/asan/TestCases/Posix/stack-use-after-return.cc b/compiler-rt/test/asan/TestCases/Posix/stack-use-after-return.cc index cf114be97d5..af92e83c9f9 100644 --- a/compiler-rt/test/asan/TestCases/Posix/stack-use-after-return.cc +++ b/compiler-rt/test/asan/TestCases/Posix/stack-use-after-return.cc @@ -4,7 +4,7 @@ // RUN: %clangxx_asan -O3 %s -pthread -o %t && %env_asan_opts=detect_stack_use_after_return=1 not %run %t 2>&1 | FileCheck %s // RUN: %env_asan_opts=detect_stack_use_after_return=0 %run %t // Regression test for a CHECK failure with small stack size and large frame. -// RUN: %clangxx_asan -O3 %s -pthread -o %t -DkSize=10000 -DUseThread -DkStackSize=65536 && %env_asan_opts=detect_stack_use_after_return=1 not %run %t 2>&1 | FileCheck --check-prefix=THREAD %s +// RUN: %clangxx_asan -O3 %s -pthread -o %t -DkSize=10000 -DUseThread -DkStackSize=131072 && %env_asan_opts=detect_stack_use_after_return=1 not %run %t 2>&1 | FileCheck --check-prefix=THREAD %s // // Test that we can find UAR in a thread other than main: // RUN: %clangxx_asan -DUseThread -O2 %s -pthread -o %t && %env_asan_opts=detect_stack_use_after_return=1 not %run %t 2>&1 | FileCheck --check-prefix=THREAD %s |