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

Francis Ricci via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 1 15:30:16 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL296706: Increase stack size for stack-use-after-return test (authored by fjricci).

Changed prior to commit:
  https://reviews.llvm.org/D30267?vs=89406&id=90246#toc

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.90246.patch
Type: text/x-patch
Size: 1196 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170301/7df618c4/attachment.bin>


More information about the llvm-commits mailing list