diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2015-07-14 03:57:11 +0000 |
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2015-07-14 03:57:11 +0000 |
| commit | c5e50734e8165cef9fd7dc1066700e90e8c007d5 (patch) | |
| tree | e6d5d861c939a9b1629b6dc77bbdb90d9a592385 /clang/test | |
| parent | aa80814c69f0f919ac60a3db9477b11b25009c8d (diff) | |
| download | bcm5719-llvm-c5e50734e8165cef9fd7dc1066700e90e8c007d5.tar.gz bcm5719-llvm-c5e50734e8165cef9fd7dc1066700e90e8c007d5.zip | |
clang/test/lit.cfg: Introduce the feature "tls", for targeting cygwin.
Thread local storage is not implemented for targeting cygwin.
llvm-svn: 242115
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/lit.cfg | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/lit.cfg b/clang/test/lit.cfg index 0e947dd437b..f853b3f7db4 100644 --- a/clang/test/lit.cfg +++ b/clang/test/lit.cfg @@ -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() |

