[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.

llvm-svn: 253729
This commit is contained in:
Anna Zaks 2015-11-20 22:55:22 +00:00
parent df06d203e5
commit f30f351faf
1 changed files with 5 additions and 0 deletions

View File

@ -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>