summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2015-06-26 23:40:27 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2015-06-26 23:40:27 +0000
commit4e78a248e2d2a8dd5e90f1dae211bb81f655dcc4 (patch)
tree09372a7abf1776d7ab92025176a905e8f8c0e2a6 /compiler-rt
parent2f58bb6a3418221b567abc685a71e3fea93904f0 (diff)
downloadbcm5719-llvm-4e78a248e2d2a8dd5e90f1dae211bb81f655dcc4.tar.gz
bcm5719-llvm-4e78a248e2d2a8dd5e90f1dae211bb81f655dcc4.zip
[asan] Disable -O1,-O2,-O3 in clang_gcc_abi.cc test.
A workaround for PR23971. Fixes the test on Android. llvm-svn: 240855
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/test/asan/TestCases/Linux/clang_gcc_abi.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/compiler-rt/test/asan/TestCases/Linux/clang_gcc_abi.cc b/compiler-rt/test/asan/TestCases/Linux/clang_gcc_abi.cc
index e833881661d..831527f720f 100644
--- a/compiler-rt/test/asan/TestCases/Linux/clang_gcc_abi.cc
+++ b/compiler-rt/test/asan/TestCases/Linux/clang_gcc_abi.cc
@@ -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
OpenPOWER on IntegriCloud