[compiler-rt] r335982 - [scs] Disable negative test in shadowcallstack.
Evgeniy Stepanov via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 29 08:16:46 PDT 2018
Author: eugenis
Date: Fri Jun 29 08:16:45 2018
New Revision: 335982
URL: http://llvm.org/viewvc/llvm-project?rev=335982&view=rev
Log:
[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.
Modified:
compiler-rt/trunk/test/shadowcallstack/init.c
Modified: compiler-rt/trunk/test/shadowcallstack/init.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/shadowcallstack/init.c?rev=335982&r1=335981&r2=335982&view=diff
==============================================================================
--- compiler-rt/trunk/test/shadowcallstack/init.c (original)
+++ compiler-rt/trunk/test/shadowcallstack/init.c Fri Jun 29 08:16:45 2018
@@ -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");
More information about the llvm-commits
mailing list