[compiler-rt] r253729 - [asan] Disable the test on i386 Darwin.

Sean Silva via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 20 20:06:23 PST 2015


On Fri, Nov 20, 2015 at 2:55 PM, Anna Zaks via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> Author: zaks
> Date: Fri Nov 20 16:55:22 2015
> New Revision: 253729
>
> URL: http://llvm.org/viewvc/llvm-project?rev=253729&view=rev
> Log:
> [asan] Disable the test on i386 Darwin.
>
> This test checks if we can print a backtrace from the death callback. On
> old
> OS X versions, backtrace is not able to symbolicate the trace past the ASan
> runtime because we build with -fomit-frame-pointer.
>
> Modified:
>     compiler-rt/trunk/test/asan/TestCases/Darwin/crashlog-stacktraces.c
>
> Modified:
> compiler-rt/trunk/test/asan/TestCases/Darwin/crashlog-stacktraces.c
> URL:
> http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Darwin/crashlog-stacktraces.c?rev=253729&r1=253728&r2=253729&view=diff
>
> ==============================================================================
> --- compiler-rt/trunk/test/asan/TestCases/Darwin/crashlog-stacktraces.c
> (original)
> +++ compiler-rt/trunk/test/asan/TestCases/Darwin/crashlog-stacktraces.c
> Fri Nov 20 16:55:22 2015
> @@ -1,6 +1,11 @@
>  // RUN: %clang_asan -O0 %s -o %t
>  // RUN: not %run %t 2>&1 | FileCheck %s
>
> +// Since ASan is built with -fomit-frame-pointer, backtrace is not able to
> +// symbolicate the trace past ASan runtime on i386. (This is fixed in
> +// latest OS X.)
>

"latest" will mean different things at different times. Can you give a
concrete version here instead?

-- Sean Silva


> +// REQUIRES: asan-64-bits
> +
>  #include <execinfo.h>
>  #include <sanitizer/common_interface_defs.h>
>  #include <stdio.h>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151120/8c98daf0/attachment.html>


More information about the llvm-commits mailing list