[PATCH] Add FreeBSD support to the address sanitizer's deep_call_stack.cc test case

Kostya Serebryany kcc at google.com
Thu Aug 14 08:52:39 PDT 2014


================
Comment at: test/asan/TestCases/deep_call_stack.cc:4
@@ -3,3 +3,3 @@
 // RUN: %clangxx_asan -O2 %s -o %t && \
-// RUN:   %run %t 2>&1 | FileCheck %s
+// RUN:   ulimit -s 4096 && %run %t 2>&1 | FileCheck %s
 // Also check that use_sigaltstack+verbosity doesn't crash.
----------------
please don't modify limits for the other lines.
What you need is (ulimit -s 4096; %run %t)

http://reviews.llvm.org/D4562






More information about the llvm-commits mailing list