[llvm-commits] [llvm] r77430 - /llvm/trunk/lib/Target/TargetLoweringObjectFile.cpp
Chris Lattner
sabre at nondot.org
Tue Jul 28 21:55:09 PDT 2009
Author: lattner
Date: Tue Jul 28 23:55:08 2009
New Revision: 77430
URL: http://llvm.org/viewvc/llvm-project?rev=77430&view=rev
Log:
constant prop a utostr.
Modified:
llvm/trunk/lib/Target/TargetLoweringObjectFile.cpp
Modified: llvm/trunk/lib/Target/TargetLoweringObjectFile.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/TargetLoweringObjectFile.cpp?rev=77430&r1=77429&r2=77430&view=diff
==============================================================================
--- llvm/trunk/lib/Target/TargetLoweringObjectFile.cpp (original)
+++ llvm/trunk/lib/Target/TargetLoweringObjectFile.cpp Tue Jul 28 23:55:08 2009
@@ -420,8 +420,7 @@
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);
}
More information about the llvm-commits
mailing list