From c9196651fcf6026a54af3ca81d34d7c7120f9da7 Mon Sep 17 00:00:00 2001 From: Seth Cantrell Date: Wed, 18 Jan 2012 12:11:32 +0000 Subject: test svn commit access llvm-svn: 148388 --- clang/lib/CodeGen/CodeGenModule.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/lib/CodeGen/CodeGenModule.cpp') diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index c2c4d08..e7c0b4c 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/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); -- cgit v1.1