aboutsummaryrefslogtreecommitdiff
path: root/test/cfi/simple-pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/cfi/simple-pass.cpp')
-rw-r--r--test/cfi/simple-pass.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/cfi/simple-pass.cpp b/test/cfi/simple-pass.cpp
index aba09be2d816..de791fc1073f 100644
--- a/test/cfi/simple-pass.cpp
+++ b/test/cfi/simple-pass.cpp
@@ -1,5 +1,10 @@
+// -mretpoline does not work yet on Darwin.
+// XFAIL: darwin
+
// RUN: %clangxx_cfi -o %t %s
// RUN: %run %t
+// RUN: %clangxx_cfi -mretpoline -o %t2 %s
+// RUN: %run %t2
// Tests that the CFI mechanism does not crash the program when making various
// kinds of valid calls involving classes with various different linkages and