constant prop a utostr.

llvm-svn: 77430
This commit is contained in:
Chris Lattner 2009-07-29 04:55:08 +00:00
parent 7610c57d4b
commit 8f35574c06
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}