[PATCH] [Asan] Fix the heavy_uar_test.cc test to pass on FreeBSD

Alexey Samsonov vonosmas at gmail.com
Tue Nov 25 16:24:52 PST 2014


LGTM

================
Comment at: test/asan/TestCases/heavy_uar_test.cc:30
@@ -29,3 +29,3 @@
 __attribute__((noinline))
 void RecuriveFunctionWithStackFrame(int depth) {
   if (depth <= 0) return;
----------------
kutuzov.viktor.84 wrote:
> Hmm, should it be named 'Recur**s**iveFunctionWithStackFrame'--with 's' in the middle?
Right, fixed.

================
Comment at: test/asan/TestCases/heavy_uar_test.cc:47
@@ -46,2 +46,3 @@
     RecuriveFunctionWithStackFrame<2000>(depth);
+#if !defined(__FreeBSD__)
     RecuriveFunctionWithStackFrame<5000>(depth);
----------------
Please add a comment about the reasons to exclude it.

http://reviews.llvm.org/D6406






More information about the llvm-commits mailing list