[PATCH] D17928: [sanitizer_common tests] Make Darwin a Posix system and bring the stable-runtime definition from ASan tests.
    Alexey Samsonov via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Mar  8 12:10:15 PST 2016
    
    
  
samsonov added inline comments.
================
Comment at: test/sanitizer_common/TestCases/Posix/decorate_proc_maps.cc:3
@@ -2,2 +2,3 @@
 // RUN: %env_tool_opts=decorate_proc_maps=1 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-%tool_name
+// UNSUPPORTED: darwin
 // REQUIRES: stable-runtime
----------------
Right, let's move this to Linux/ directory instead.
================
Comment at: test/sanitizer_common/lit.common.cfg:13
@@ +12,3 @@
+  # Get the same definition from asan's lit.cfg
+  if config.target_arch != 'arm' and config.target_arch != 'armhf' and config.target_arch != 'aarch64':
+    config.available_features.add('stable-runtime')
----------------
Why add this only for asan?
http://reviews.llvm.org/D17928
    
    
More information about the llvm-commits
mailing list