From 41e59785c101b9ded754336e008060c089459b77 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Wed, 28 Jan 2015 23:10:57 +0000 Subject: [PATCH] [LPM] Fix the PPC attribute to be spelled 'global-dynamic'. This should let the build bot make finish compiling stage2. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227391 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/PrettyStackTrace.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Support/PrettyStackTrace.cpp b/lib/Support/PrettyStackTrace.cpp index 2e9634c6946..ed576d53600 100644 --- a/lib/Support/PrettyStackTrace.cpp +++ b/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 -- 2.34.1