[compiler-rt] r336705 - [asan] Disable non-execute test on s390

Ulrich Weigand via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 10 09:55:27 PDT 2018


Author: uweigand
Date: Tue Jul 10 09:55:27 2018
New Revision: 336705

URL: http://llvm.org/viewvc/llvm-project?rev=336705&view=rev
Log:
[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.


Modified:
    compiler-rt/trunk/test/asan/TestCases/non-executable-pc.cpp

Modified: compiler-rt/trunk/test/asan/TestCases/non-executable-pc.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/non-executable-pc.cpp?rev=336705&r1=336704&r2=336705&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/non-executable-pc.cpp (original)
+++ compiler-rt/trunk/test/asan/TestCases/non-executable-pc.cpp Tue Jul 10 09:55:27 2018
@@ -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();




More information about the llvm-commits mailing list