summaryrefslogtreecommitdiff
path: root/test/ubsan/TestCases/TypeCheck/Function/function.cpp
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2014-08-22 11:09:10 +0000
committerAlexander Potapenko <glider@google.com>2014-08-22 11:09:10 +0000
commited07038fa02934625a58da1c2e29d0ebb454fdab (patch)
treef8a07737bd4f119f0ae5cdcb91767c95dc9959c1 /test/ubsan/TestCases/TypeCheck/Function/function.cpp
parentc912e5b0c32ffcb10d35d154a2159b1b1f45a5ae (diff)
[ubsan] Do not run Function/function.cpp on Darwin where -fsanitize=function is not supported.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@216263 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ubsan/TestCases/TypeCheck/Function/function.cpp')
-rw-r--r--test/ubsan/TestCases/TypeCheck/Function/function.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ubsan/TestCases/TypeCheck/Function/function.cpp b/test/ubsan/TestCases/TypeCheck/Function/function.cpp
index e2f46f2db..14d4acf5c 100644
--- a/test/ubsan/TestCases/TypeCheck/Function/function.cpp
+++ b/test/ubsan/TestCases/TypeCheck/Function/function.cpp
@@ -3,6 +3,9 @@
// Verify that we can disable symbolization if needed:
// RUN: UBSAN_OPTIONS=symbolize=0 ASAN_OPTIONS=symbolize=0 %run %t 2>&1 | FileCheck %s --check-prefix=NOSYM
+// -fsanitize=function is unsupported on Darwin yet.
+// XFAIL: darwin
+
#include <stdint.h>
void f() {}