[compiler-rt] r298196 - Apparently, PTHREAD_STACK_MIN can be in limits.h on some systems...

Kuba Mracek via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 18 15:01:34 PDT 2017


Author: kuba.brecka
Date: Sat Mar 18 17:01:33 2017
New Revision: 298196

URL: http://llvm.org/viewvc/llvm-project?rev=298196&view=rev
Log:
Apparently, PTHREAD_STACK_MIN can be in limits.h on some systems...


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

Modified: compiler-rt/trunk/test/asan/TestCases/Posix/stack-use-after-return.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Posix/stack-use-after-return.cc?rev=298196&r1=298195&r2=298196&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Posix/stack-use-after-return.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Posix/stack-use-after-return.cc Sat Mar 18 17:01:33 2017
@@ -14,6 +14,7 @@
 // RUN: %env_asan_opts=detect_stack_use_after_return=1:max_uar_stack_size_log=20:verbosity=1 not %run %t 2>&1 | FileCheck --check-prefix=CHECK-20 %s
 // RUN: %env_asan_opts=detect_stack_use_after_return=1:min_uar_stack_size_log=24:max_uar_stack_size_log=24:verbosity=1 not %run %t 2>&1 | FileCheck --check-prefix=CHECK-24 %s
 
+#include <limits.h>
 #include <pthread.h>
 #include <stdio.h>
 #include <stdlib.h>




More information about the llvm-commits mailing list