projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa80814
)
clang/test/lit.cfg: Introduce the feature "tls", for targeting cygwin.
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Tue, 14 Jul 2015 03:57:11 +0000
(
03:57
+0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Tue, 14 Jul 2015 03:57:11 +0000
(
03:57
+0000)
Thread local storage is not implemented for targeting cygwin.
llvm-svn: 242115
clang/test/lit.cfg
patch
|
blob
|
history
diff --git
a/clang/test/lit.cfg
b/clang/test/lit.cfg
index
0e947dd
..
f853b3f
100644
(file)
--- 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()