[asan] Disable -O1,-O2,-O3 in clang_gcc_abi.cc test.

A workaround for PR23971.
Fixes the test on Android.

llvm-svn: 240855
This commit is contained in:
Evgeniy Stepanov 2015-06-26 23:40:27 +00:00
parent 2f58bb6a34
commit 4e78a248e2
1 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,8 @@
// RUN: %clangxx_asan -O0 -x c %s -o %t && not %run %t 2>&1 | FileCheck %s
// RUN: %clangxx_asan -O1 -x c %s -o %t && not %run %t 2>&1 | FileCheck %s
// RUN: %clangxx_asan -O2 -x c %s -o %t && not %run %t 2>&1 | FileCheck %s
// RUN: %clangxx_asan -O3 -x c %s -o %t && not %run %t 2>&1 | FileCheck %s
// __attribute__((naked)) is broken at high optimization levels
// Only testing -O0.
// https://llvm.org/bugs/show_bug.cgi?id=23971
// REQUIRES: arm-supported-target
// XFAIL: armv7l-unknown-linux-gnueabihf