summaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorSeth Cantrell <seth.cantrell@gmail.com>2012-01-18 12:11:32 +0000
committerSeth Cantrell <seth.cantrell@gmail.com>2012-01-18 12:11:32 +0000
commit7d6a7c004361c45a463874a58da28d9f3c35f2e6 (patch)
treed912b859892ddedcdb0e9380f28f576238498113 /lib/CodeGen/CodeGenModule.cpp
parent4798f8dfdb15fc03fa6b4104efed8762d52ebb18 (diff)
test svn commit access
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148388 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--lib/CodeGen/CodeGenModule.cpp1
1 files changed, 1 insertions, 0 deletions
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);