summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/shadowcallstack/init.c
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2018-06-29 15:16:45 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2018-06-29 15:16:45 +0000
commitac9b6adf77d72b1b72e55f97893bdfc47c0f5851 (patch)
tree50f6b9d2d62c5d81c89f1a9c81764acb1528b10a /compiler-rt/test/shadowcallstack/init.c
parente92d7878e583851c691a3c3da0ac49754aa014e0 (diff)
downloadbcm5719-llvm-ac9b6adf77d72b1b72e55f97893bdfc47c0f5851.tar.gz
bcm5719-llvm-ac9b6adf77d72b1b72e55f97893bdfc47c0f5851.zip
[scs] Disable negative test in shadowcallstack.
The test checks that scs does NOT work correctly w/o runtime support. That's a strange thing to test, and it is also flaky, because things may just work if x18 happens to point to a writable page. llvm-svn: 335982
Diffstat (limited to 'compiler-rt/test/shadowcallstack/init.c')
-rw-r--r--compiler-rt/test/shadowcallstack/init.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/compiler-rt/test/shadowcallstack/init.c b/compiler-rt/test/shadowcallstack/init.c
index f84f38d713e..a406e1b140f 100644
--- a/compiler-rt/test/shadowcallstack/init.c
+++ b/compiler-rt/test/shadowcallstack/init.c
@@ -1,18 +1,10 @@
-// RUN: %clang_scs -D INCLUDE_RUNTIME %s -o %t
-// RUN: %run %t
-
// RUN: %clang_scs %s -o %t
-// RUN: not --crash %run %t
+// RUN: %run %t
// Basic smoke test for the runtime
#include "libc_support.h"
-
-#ifdef INCLUDE_RUNTIME
#include "minimal_runtime.h"
-#else
-#define scs_main main
-#endif
int scs_main(void) {
scs_fputs_stdout("In main.\n");
OpenPOWER on IntegriCloud