[llvm] r227391 - [LPM] Fix the PPC attribute to be spelled 'global-dynamic'. This should
Chandler Carruth
chandlerc at gmail.com
Wed Jan 28 15:10:57 PST 2015
Author: chandlerc
Date: Wed Jan 28 17:10:57 2015
New Revision: 227391
URL: http://llvm.org/viewvc/llvm-project?rev=227391&view=rev
Log:
[LPM] Fix the PPC attribute to be spelled 'global-dynamic'. This should
let the build bot make finish compiling stage2.
Modified:
llvm/trunk/lib/Support/PrettyStackTrace.cpp
Modified: llvm/trunk/lib/Support/PrettyStackTrace.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/PrettyStackTrace.cpp?rev=227391&r1=227390&r2=227391&view=diff
==============================================================================
--- llvm/trunk/lib/Support/PrettyStackTrace.cpp (original)
+++ llvm/trunk/lib/Support/PrettyStackTrace.cpp Wed Jan 28 17:10:57 2015
@@ -39,11 +39,11 @@ using namespace llvm;
// Clang, GCC, and all compatible compilers tend to use __thread. But we need
// to work aronud a bug in the combination of Clang's compilation of
// local-dynamic TLS and the ppc64 linker relocations which we do by forcing to
-// general-dynamic.
+// global-dynamic (called in most documents "general dynamic").
// FIXME: Make this conditional on the Clang version once this is fixed in
// top-of-tree.
#if defined(__clang__) && defined(__powerpc64__)
-#define LLVM_THREAD_LOCAL __thread __attribute__((tls_model("general-dynamic")))
+#define LLVM_THREAD_LOCAL __thread __attribute__((tls_model("global-dynamic")))
#else
#define LLVM_THREAD_LOCAL __thread
#endif
More information about the llvm-commits
mailing list