diff options
author | Seth Cantrell <seth.cantrell@gmail.com> | 2012-01-18 12:11:32 +0000 |
---|---|---|
committer | Seth Cantrell <seth.cantrell@gmail.com> | 2012-01-18 12:11:32 +0000 |
commit | c9196651fcf6026a54af3ca81d34d7c7120f9da7 (patch) | |
tree | 5b284118b0ef928b046400eacd6b7a625f89c617 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 44b683ea0f4dea93adc72b879bf840fe949408a2 (diff) | |
download | llvm-c9196651fcf6026a54af3ca81d34d7c7120f9da7.zip llvm-c9196651fcf6026a54af3ca81d34d7c7120f9da7.tar.gz llvm-c9196651fcf6026a54af3ca81d34d7c7120f9da7.tar.bz2 |
test svn commit access
llvm-svn: 148388
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); |