summaryrefslogtreecommitdiff
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
commit06a3c0baea19e5ff295b34943fcec9609a686952 (patch)
tree2f6582d4f5f2298d7cf61e8f3316c4d4f6e14d16
parentff1f01dfe070e713fd8fb5e3a94fa7c69f092fbb (diff)
[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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@335982 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/shadowcallstack/init.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/test/shadowcallstack/init.c b/test/shadowcallstack/init.c
index f84f38d71..a406e1b14 100644
--- a/test/shadowcallstack/init.c
+++ b/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");