Index: test/asan/TestCases/heavy_uar_test.cc =================================================================== --- test/asan/TestCases/heavy_uar_test.cc +++ test/asan/TestCases/heavy_uar_test.cc @@ -44,15 +44,17 @@ RecuriveFunctionWithStackFrame<500>(depth); RecuriveFunctionWithStackFrame<1024>(depth); RecuriveFunctionWithStackFrame<2000>(depth); +#if !defined(__FreeBSD__) RecuriveFunctionWithStackFrame<5000>(depth); RecuriveFunctionWithStackFrame<10000>(depth); +#endif } char *stale_stack = LeakStack(); RecuriveFunctionWithStackFrame<1024>(10); stale_stack[100]++; // CHECK: ERROR: AddressSanitizer: stack-use-after-return on address // CHECK: is located in stack of thread T0 at offset {{116|132}} in frame - // CHECK: in LeakStack(){{.*}}heavy_uar_test.cc: + // CHECK: in LeakStack{{.*}}heavy_uar_test.cc: // CHECK: [{{16|32}}, {{1040|1056}}) 'x' return 0; }