[compiler-rt] r197372 - [asan] fix the test so that it works even if stack size is unlimited by default

Kostya Serebryany kcc at google.com
Mon Dec 16 01:09:32 PST 2013


Author: kcc
Date: Mon Dec 16 03:09:31 2013
New Revision: 197372

URL: http://llvm.org/viewvc/llvm-project?rev=197372&view=rev
Log:
[asan] fix the test so that it works even if stack size is unlimited by default

Modified:
    compiler-rt/trunk/lib/asan/lit_tests/TestCases/stack-use-after-return.cc

Modified: compiler-rt/trunk/lib/asan/lit_tests/TestCases/stack-use-after-return.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/lit_tests/TestCases/stack-use-after-return.cc?rev=197372&r1=197371&r2=197372&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/lit_tests/TestCases/stack-use-after-return.cc (original)
+++ compiler-rt/trunk/lib/asan/lit_tests/TestCases/stack-use-after-return.cc Mon Dec 16 03:09:31 2013
@@ -19,7 +19,7 @@
 // Test the max_uar_stack_size_log/min_uar_stack_size_log flag.
 //
 // RUN: ASAN_OPTIONS=$ASAN_OPTIONS:max_uar_stack_size_log=20:verbosity=1 not %t 2>&1 | FileCheck --check-prefix=CHECK-20 %s
-// RUN: ASAN_OPTIONS=$ASAN_OPTIONS:min_uar_stack_size_log=24:max_uar_stack_size_log=28:verbosity=1 not %t 2>&1 | FileCheck --check-prefix=CHECK-24 %s
+// RUN: ASAN_OPTIONS=$ASAN_OPTIONS:min_uar_stack_size_log=24:max_uar_stack_size_log=24:verbosity=1 not %t 2>&1 | FileCheck --check-prefix=CHECK-24 %s
 
 #include <stdio.h>
 #include <pthread.h>





More information about the llvm-commits mailing list