Index: src/IceGlobalContext.h |
diff --git a/src/IceGlobalContext.h b/src/IceGlobalContext.h |
index 751147ee48502811e0f37eaf21c92d0dae0ad17c..1f0a600d485fa8dcba7d3c5915d0bdc936e0428d 100644 |
--- a/src/IceGlobalContext.h |
+++ b/src/IceGlobalContext.h |
@@ -274,7 +274,7 @@ private: |
std::vector<ThreadContext *> AllThreadContexts; |
// Each thread has its own TLS pointer which is also held in |
// AllThreadContexts. |
- thread_local static ThreadContext *TLS; |
+ ICE_ATTRIBUTE_TLS static ThreadContext *TLS; |
// Private helpers for mangleName() |
typedef llvm::SmallVector<char, 32> ManglerVector; |