summaryrefslogtreecommitdiff
path: root/test/shadowcallstack/overflow-x86_64.c
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2018-04-09 20:18:10 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2018-04-09 20:18:10 +0000
commit6437c9165c7849f4c7e25f666a7b0bbb8ea62d4c (patch)
tree213c0650b2ce938dcbe0c0a5b6646afb460ba186 /test/shadowcallstack/overflow-x86_64.c
parentd4c8c302dc14cf7350956e97b597ebe2e4295c0c (diff)
shadowcallstack: Make runtime tests compatible with aarch64.
Differential Revision: https://reviews.llvm.org/D45303 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@329614 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/shadowcallstack/overflow-x86_64.c')
-rw-r--r--test/shadowcallstack/overflow-x86_64.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/shadowcallstack/overflow-x86_64.c b/test/shadowcallstack/overflow-x86_64.c
new file mode 100644
index 000000000..38bb13a96
--- /dev/null
+++ b/test/shadowcallstack/overflow-x86_64.c
@@ -0,0 +1,5 @@
+// See overflow.c for a description.
+
+// REQUIRES: x86_64-target-arch
+// RUN: %clang_scs %S/overflow.c -o %t -DITERATIONS=12
+// RUN: not --crash %run %t