forked from OSchip/llvm-project
[TSan][Darwin] Remove unnecessary lit substitution
We don't test on very old versions of Apple platforms anymore. The following lit substitution concerning the minimum deployment target for ARC support can be removed. ``` %darwin_min_target_with_full_runtime_arc_support -> 10.11 ``` Differential Revision: https://reviews.llvm.org/D85803
This commit is contained in:
parent
8372e47bb9
commit
d9b062ad87
|
@ -268,9 +268,7 @@ lit.util.usePlatformSdkOnDarwin(config, lit_config)
|
|||
# to the macOS version that first contained the relevant feature.
|
||||
darwin_min_deployment_target_substitutions = {
|
||||
'%macos_min_target_10_11': '10.11',
|
||||
# rdar://problem/22207160
|
||||
'%darwin_min_target_with_full_runtime_arc_support': '10.11',
|
||||
'%darwin_min_target_with_tls_support': '10.12',
|
||||
'%darwin_min_target_with_tls_support': '10.12', # TLS requires watchOS 3+ simulator
|
||||
}
|
||||
|
||||
if config.host_os == 'Darwin':
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: %clang_tsan %s -lc++ -fobjc-arc -lobjc -o %t -framework Foundation %darwin_min_target_with_full_runtime_arc_support
|
||||
// RUN: %clang_tsan %s -lc++ -fobjc-arc -lobjc -o %t -framework Foundation
|
||||
// RUN: %env_tsan_opts=ignore_interceptors_accesses=1 %run %t 2>&1 | FileCheck %s
|
||||
|
||||
// Check that we do not report races between:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: %clangxx_tsan %s -o %t -framework Foundation -fobjc-arc %darwin_min_target_with_full_runtime_arc_support
|
||||
// RUN: %clangxx_tsan %s -o %t -framework Foundation -fobjc-arc
|
||||
// RUN: %run %t 6 2>&1 | FileCheck %s --check-prefix=SIX
|
||||
// RUN: not %run %t 7 2>&1 | FileCheck %s --check-prefix=SEVEN
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: %clangxx_tsan %s -o %t -framework Foundation -fobjc-arc %darwin_min_target_with_full_runtime_arc_support
|
||||
// RUN: %clangxx_tsan %s -o %t -framework Foundation -fobjc-arc
|
||||
// RUN: not %run %t 2>&1 | FileCheck %s
|
||||
// RUN: %env_tsan_opts=detect_deadlocks=1 not %run %t 2>&1 | FileCheck %s
|
||||
// RUN: %env_tsan_opts=detect_deadlocks=0 %run %t 2>&1 | FileCheck %s --check-prefix=DISABLED
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: %clangxx_tsan %s -o %t -framework Foundation -fobjc-arc %darwin_min_target_with_full_runtime_arc_support
|
||||
// RUN: %clangxx_tsan %s -o %t -framework Foundation -fobjc-arc
|
||||
// RUN: %run %t 2>&1 | FileCheck %s
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: %clangxx_tsan %s -o %t -framework Foundation -fobjc-arc %darwin_min_target_with_full_runtime_arc_support
|
||||
// RUN: %clangxx_tsan %s -o %t -framework Foundation -fobjc-arc
|
||||
// RUN: %run %t 2>&1 | FileCheck %s
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: %clangxx_tsan %s -o %t -framework Foundation -fobjc-arc %darwin_min_target_with_full_runtime_arc_support
|
||||
// RUN: %clangxx_tsan %s -o %t -framework Foundation -fobjc-arc
|
||||
// RUN: %run %t 2>&1 | FileCheck %s
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
|
Loading…
Reference in New Issue