mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-01 01:14:12 +00:00
constant prop a utostr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77430 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
067fe1ae54
commit
a679207d58
@ -420,8 +420,7 @@ SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
|
||||
unsigned Align =
|
||||
TM.getTargetData()->getPreferredAlignment(cast<GlobalVariable>(GV));
|
||||
|
||||
std::string Name = CStringSection_->getName() + utostr(Size) + '.' +
|
||||
utostr(Align);
|
||||
std::string Name = CStringSection_->getName() + "1." + utostr(Align);
|
||||
return getOrCreateSection(Name.c_str(), false,
|
||||
SectionKind::MergeableCString);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user