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
This commit is contained in:
parent
9130f1c6bf
commit
bdc963a98c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue