[compiler-rt] r313440 - [asan] Remove not-android

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 15 20:41:16 PDT 2017


Author: vitalybuka
Date: Fri Sep 15 20:41:16 2017
New Revision: 313440

URL: http://llvm.org/viewvc/llvm-project?rev=313440&view=rev
Log:
[asan] Remove not-android

Replaced with !android

Modified:
    compiler-rt/trunk/test/asan/TestCases/Linux/asan_preload_test-1.cc
    compiler-rt/trunk/test/asan/TestCases/Linux/asan_preload_test-2.cc
    compiler-rt/trunk/test/asan/TestCases/Linux/calloc-preload.c
    compiler-rt/trunk/test/asan/TestCases/Linux/preinstalled_signal.cc
    compiler-rt/trunk/test/asan/TestCases/pass-struct-byval-uar.cc
    compiler-rt/trunk/test/asan/lit.cfg

Modified: compiler-rt/trunk/test/asan/TestCases/Linux/asan_preload_test-1.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Linux/asan_preload_test-1.cc?rev=313440&r1=313439&r2=313440&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Linux/asan_preload_test-1.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Linux/asan_preload_test-1.cc Fri Sep 15 20:41:16 2017
@@ -10,7 +10,7 @@
 // REQUIRES: asan-dynamic-runtime
 
 // This way of setting LD_PRELOAD does not work with Android test runner.
-// REQUIRES: not-android
+// REQUIRES: !android
 
 #if BUILD_SO
 char dummy;

Modified: compiler-rt/trunk/test/asan/TestCases/Linux/asan_preload_test-2.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Linux/asan_preload_test-2.cc?rev=313440&r1=313439&r2=313440&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Linux/asan_preload_test-2.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Linux/asan_preload_test-2.cc Fri Sep 15 20:41:16 2017
@@ -6,7 +6,7 @@
 // REQUIRES: asan-dynamic-runtime
 
 // This way of setting LD_PRELOAD does not work with Android test runner.
-// REQUIRES: not-android
+// REQUIRES: !android
 
 #include <stdlib.h>
 

Modified: compiler-rt/trunk/test/asan/TestCases/Linux/calloc-preload.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Linux/calloc-preload.c?rev=313440&r1=313439&r2=313440&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Linux/calloc-preload.c (original)
+++ compiler-rt/trunk/test/asan/TestCases/Linux/calloc-preload.c Fri Sep 15 20:41:16 2017
@@ -7,7 +7,7 @@
 // REQUIRES: asan-dynamic-runtime
 //
 // This way of setting LD_PRELOAD does not work with Android test runner.
-// REQUIRES: not-android
+// REQUIRES: !android
 
 #include <stdio.h>
 #include <stdlib.h>

Modified: compiler-rt/trunk/test/asan/TestCases/Linux/preinstalled_signal.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Linux/preinstalled_signal.cc?rev=313440&r1=313439&r2=313440&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Linux/preinstalled_signal.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Linux/preinstalled_signal.cc Fri Sep 15 20:41:16 2017
@@ -16,7 +16,7 @@
 // REQUIRES: asan-dynamic-runtime
 
 // This way of setting LD_PRELOAD does not work with Android test runner.
-// REQUIRES: not-android
+// REQUIRES: !android
 // clang-format on
 
 #include <assert.h>

Modified: compiler-rt/trunk/test/asan/TestCases/pass-struct-byval-uar.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/pass-struct-byval-uar.cc?rev=313440&r1=313439&r2=313440&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/pass-struct-byval-uar.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/pass-struct-byval-uar.cc Fri Sep 15 20:41:16 2017
@@ -9,7 +9,7 @@
 // instead creates a copy in main() and gives foo() a pointer to the copy.  In
 // that case, ASAN has nothing to poison on return from foo() and will not
 // detect the UAR.
-// REQUIRES: x86_64-target-arch, linux, not-android
+// REQUIRES: x86_64-target-arch, linux, !android
 
 #include <cstdio>
 

Modified: compiler-rt/trunk/test/asan/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/lit.cfg?rev=313440&r1=313439&r2=313440&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/lit.cfg (original)
+++ compiler-rt/trunk/test/asan/lit.cfg Fri Sep 15 20:41:16 2017
@@ -115,8 +115,6 @@ if config.android == "1":
   config.available_features.add('android')
   compile_wrapper = os.path.join(asan_lit_source_dir, "android_commands", "android_compile.py") + " "
   config.compile_wrapper = compile_wrapper
-else:
-  config.available_features.add('not-android')
 
 def build_invocation(compile_flags):
   return " " + " ".join([config.compile_wrapper, config.clang] + compile_flags) + " "




More information about the llvm-commits mailing list