[asan] Mark strdup test as unsupported on arm/linux.

llvm-svn: 267028
This commit is contained in:
Evgeniy Stepanov 2016-04-21 18:18:09 +00:00
parent 7e02656004
commit 0e97e036d3
1 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,9 @@
// When built as C on Linux, strdup is transformed to __strdup.
// RUN: %clangxx_asan -O3 -xc %s -o %t && not %run %t 2>&1 | FileCheck %s
// Unwind problem on arm: "main" is missing from the allocation stack trace.
// UNSUPPORTED: armv7l-unknown-linux-gnueabihf
#include <string.h>
char kString[] = "foo";