From: Seth Cantrell Date: Wed, 18 Jan 2012 12:11:32 +0000 (+0000) Subject: test svn commit access X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7d6a7c004361c45a463874a58da28d9f3c35f2e6;p=clang test svn commit access git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148388 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp index c2c4d0887b..e7c0b4c066 100644 --- a/lib/CodeGen/CodeGenModule.cpp +++ b/lib/CodeGen/CodeGenModule.cpp @@ -2120,6 +2120,7 @@ CodeGenModule::GetAddrOfConstantStringFromLiteral(const StringLiteral *S) { !Features.WritableStrings, llvm::GlobalValue::PrivateLinkage, C,".str"); + GV->setAlignment(Align.getQuantity()); GV->setUnnamedAddr(true);