diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2015-01-28 23:10:57 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2015-01-28 23:10:57 +0000 |
commit | b2fe3e5c35ae8bc410976f4c1f0b315c312cf68b (patch) | |
tree | 36eee5511d55944bbcb91a471e4068d295336c04 /llvm/lib/Support/PrettyStackTrace.cpp | |
parent | 9198b33b48967bd9d692cd56f831acfe08e7197f (diff) | |
download | bcm5719-llvm-b2fe3e5c35ae8bc410976f4c1f0b315c312cf68b.tar.gz bcm5719-llvm-b2fe3e5c35ae8bc410976f4c1f0b315c312cf68b.zip |
[LPM] Fix the PPC attribute to be spelled 'global-dynamic'. This should
let the build bot make finish compiling stage2.
llvm-svn: 227391
Diffstat (limited to 'llvm/lib/Support/PrettyStackTrace.cpp')
-rw-r--r-- | llvm/lib/Support/PrettyStackTrace.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Support/PrettyStackTrace.cpp b/llvm/lib/Support/PrettyStackTrace.cpp index 2e9634c6946..ed576d53600 100644 --- a/llvm/lib/Support/PrettyStackTrace.cpp +++ b/llvm/lib/Support/PrettyStackTrace.cpp @@ -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 |