forked from OSchip/llvm-project
parent
44b683ea0f
commit
c9196651fc
|
@ -2120,6 +2120,7 @@ CodeGenModule::GetAddrOfConstantStringFromLiteral(const StringLiteral *S) {
|
|||
!Features.WritableStrings,
|
||||
llvm::GlobalValue::PrivateLinkage,
|
||||
C,".str");
|
||||
|
||||
GV->setAlignment(Align.getQuantity());
|
||||
GV->setUnnamedAddr(true);
|
||||
|
||||
|
|
Loading…
Reference in New Issue