diff options
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2018-07-10 16:55:27 +0000 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2018-07-10 16:55:27 +0000 |
commit | 52d0683c705d0402085901633029164314404fe5 (patch) | |
tree | 0f2c982440cdf050013e005bb706e318301e8e0e /test/asan/TestCases | |
parent | 8e3b61e48a42566dd5b35c8cc9d2777a154771e4 (diff) | |
download | compiler-rt-52d0683c705d0402085901633029164314404fe5.tar.gz |
[asan] Disable non-execute test on s390
Processors before z14 don't support non-execute protection,
so they will start execution random memory contents, causing
the test to randomly fail or succeed.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@336705 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/asan/TestCases')
-rw-r--r-- | test/asan/TestCases/non-executable-pc.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/asan/TestCases/non-executable-pc.cpp b/test/asan/TestCases/non-executable-pc.cpp index 6ef40540b..6412916e7 100644 --- a/test/asan/TestCases/non-executable-pc.cpp +++ b/test/asan/TestCases/non-executable-pc.cpp @@ -5,6 +5,9 @@ // Not every OS lists every memory region in MemoryMappingLayout. // REQUIRES: linux || freebsd || netbsd +// We don't have non-execute protection on s390 processors before z14. +// UNSUPPORTED: s390 + #include <assert.h> typedef void void_f(); |