forked from OSchip/llvm-project
[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
This commit is contained in:
parent
e92d7878e5
commit
ac9b6adf77
compiler-rt/test/shadowcallstack
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue