projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
067fe1a
)
constant prop a utostr.
author
Chris Lattner
<sabre@nondot.org>
Wed, 29 Jul 2009 04:55:08 +0000
(
04:55
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 29 Jul 2009 04:55:08 +0000
(
04:55
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77430
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/TargetLoweringObjectFile.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/TargetLoweringObjectFile.cpp
b/lib/Target/TargetLoweringObjectFile.cpp
index 379099b222d5cb6b1f2b1626f2e7088a24504c9d..bbcf53df980366a62e8beae68e2891214a7b2372 100644
(file)
--- a/
lib/Target/TargetLoweringObjectFile.cpp
+++ b/
lib/Target/TargetLoweringObjectFile.cpp
@@
-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);
}