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

Anna Zaks via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 20 14:55:22 PST 2015


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.)
+// REQUIRES: asan-64-bits
+
 #include <execinfo.h>
 #include <sanitizer/common_interface_defs.h>
 #include <stdio.h>




More information about the llvm-commits mailing list