[PATCH] D30267: Increase stack size for stack-use-after-return test

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 18 18:11:22 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL298200: Re-commit of r296706 ("Increase stack size for stack-use-after-return test"). (authored by kuba.brecka).

Repository:
  rL LLVM

https://reviews.llvm.org/D30267

Files:
  compiler-rt/trunk/test/asan/TestCases/Posix/stack-use-after-return.cc


Index: compiler-rt/trunk/test/asan/TestCases/Posix/stack-use-after-return.cc
===================================================================
--- compiler-rt/trunk/test/asan/TestCases/Posix/stack-use-after-return.cc
+++ compiler-rt/trunk/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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30267.92257.patch
Type: text/x-patch
Size: 1196 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170319/136297ef/attachment.bin>


More information about the llvm-commits mailing list