forked from OSchip/llvm-project
Simplify test a bit.
There are two cases to consider: We are using the internal shell. This will still fail because of ulimit. We are using an external shell. In this case the difference is that we now also constrain FileCheck to use less than 4 MB of of stack, which it should :-) llvm-svn: 299586
This commit is contained in:
parent
895f5d8080
commit
03994b814d
|
@ -1,6 +1,7 @@
|
|||
// Check that UAR mode can handle very deep recusrion.
|
||||
// RUN: %clangxx_asan -O2 %s -o %t && \
|
||||
// RUN: (ulimit -s 4096; %env_asan_opts=detect_stack_use_after_return=1 %run %t) 2>&1 | FileCheck %s
|
||||
// RUN: %clangxx_asan -O2 %s -o %t
|
||||
// RUN: ulimit -s 4096
|
||||
// RUN: %env_asan_opts=detect_stack_use_after_return=1 %run %t 2>&1 | FileCheck %s
|
||||
|
||||
// Also check that use_sigaltstack+verbosity doesn't crash.
|
||||
// RUN: %env_asan_opts=verbosity=1:use_sigaltstack=1:detect_stack_use_after_return=1 %run %t | FileCheck %s
|
||||
|
|
Loading…
Reference in New Issue