Index: test/sanitizer_common/TestCases/Posix/decorate_proc_maps.cc =================================================================== --- test/sanitizer_common/TestCases/Posix/decorate_proc_maps.cc +++ test/sanitizer_common/TestCases/Posix/decorate_proc_maps.cc @@ -1,5 +1,6 @@ // RUN: %clangxx -g %s -o %t // RUN: %env_tool_opts=decorate_proc_maps=1 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-%tool_name +// UNSUPPORTED: darwin // REQUIRES: stable-runtime #include #include Index: test/sanitizer_common/TestCases/Posix/lit.local.cfg =================================================================== --- test/sanitizer_common/TestCases/Posix/lit.local.cfg +++ test/sanitizer_common/TestCases/Posix/lit.local.cfg @@ -5,5 +5,5 @@ root = getRoot(config) -if root.host_os in ['Windows', 'Darwin']: +if root.host_os in ['Windows']: config.unsupported = True Index: test/sanitizer_common/lit.common.cfg =================================================================== --- test/sanitizer_common/lit.common.cfg +++ test/sanitizer_common/lit.common.cfg @@ -9,6 +9,9 @@ if config.tool_name == "asan": tool_cflags = ["-fsanitize=address"] tool_options = "ASAN_OPTIONS" + # 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') elif config.tool_name == "tsan": tool_cflags = ["-fsanitize=thread"] tool_options = "TSAN_OPTIONS"