forked from OSchip/llvm-project
clang/test/lit.cfg: Introduce the feature "tls", for targeting cygwin.
Thread local storage is not implemented for targeting cygwin. llvm-svn: 242115
This commit is contained in:
parent
aa80814c69
commit
c5e50734e8
|
@ -421,6 +421,10 @@ if not re.match(r'.*-(cygwin|mingw32|windows-gnu)$', config.target_triple):
|
|||
if platform.system() not in ['Windows']:
|
||||
config.available_features.add('can-remove-opened-file')
|
||||
|
||||
# Not set for targeting tls-incapable targets.
|
||||
if not re.match(r'.*-cygwin$', config.target_triple):
|
||||
config.available_features.add('tls')
|
||||
|
||||
# Returns set of available features, registered-target(s) and asserts.
|
||||
def get_llvm_config_props():
|
||||
set_of_features = set()
|
||||
|
|
Loading…
Reference in New Issue