mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Set unnamed_addr on strings created through the IRBuilder.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129040 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c60a475091
commit
84025ba08f
@ -30,6 +30,7 @@ Value *IRBuilderBase::CreateGlobalString(const char *Str, const Twine &Name) {
|
||||
true, GlobalValue::InternalLinkage,
|
||||
StrConstant, "", 0, false);
|
||||
GV->setName(Name);
|
||||
GV->setUnnamedAddr(true);
|
||||
return GV;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user