diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-03-14 21:08:19 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-03-14 21:08:19 +0000 |
commit | dc0f137295bc7ec5b231ff1842388f149f43c0c8 (patch) | |
tree | eab4b89f7aa406884a096df58b41222e17940991 /lib/CodeGen/CodeGenModule.cpp | |
parent | f86d5f2b888573f7d72d7eeae7237cf6c5080958 (diff) |
Switch from internal to linker_private linkage, it is sufficient to please the new linker.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127622 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | lib/CodeGen/CodeGenModule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp index 4753bc38d3..24b3c3214c 100644 --- a/lib/CodeGen/CodeGenModule.cpp +++ b/lib/CodeGen/CodeGenModule.cpp @@ -1672,7 +1672,7 @@ CodeGenModule::GetAddrOfConstantCFString(const StringLiteral *Literal) { // FIXME: With OS X ld 123.2 (xcode 4) and LTO we would get a linker error // when using private linkage. It is not clear if this is a bug in ld // or a reasonable new restriction. - Linkage = llvm::GlobalValue::InternalLinkage; + Linkage = llvm::GlobalValue::LinkerPrivateLinkage; isConstant = !Features.WritableStrings; } |