Index: third_party/tcmalloc/chromium/src/thread_cache.h |
diff --git a/third_party/tcmalloc/chromium/src/thread_cache.h b/third_party/tcmalloc/chromium/src/thread_cache.h |
index 529402908450e9efb3f06708cdbd6dbecc7c7236..a5de126ff33c18e46af81170030e67568dade44c 100644 |
--- a/third_party/tcmalloc/chromium/src/thread_cache.h |
+++ b/third_party/tcmalloc/chromium/src/thread_cache.h |
@@ -259,7 +259,9 @@ class ThreadCache { |
// a good tradeoff for us. |
#ifdef HAVE_TLS |
static __thread ThreadCache* threadlocal_heap_ |
-# ifdef HAVE___ATTRIBUTE__ |
+ // See comments in the header file about this #define. Bug here: |
gpike
2012/04/24 20:49:29
s/the header file/thread_cache.cc/
s/ #define//
asharif1
2012/04/24 21:02:34
Good catch. This is the header file. I will switch
|
+ // http://code.google.com/p/chromium/issues/detail?id=124489 |
+#if defined(HAVE___ATTRIBUTE__) && !defined(PGO_GENERATE) |
__attribute__ ((tls_model ("initial-exec"))) |
# endif |
; |