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:
eb18812
)
Use the GV version of getNameWithPrefix in TargetLoweringObjectFileCOFF::
author
Chris Lattner
<sabre@nondot.org>
Wed, 13 Jan 2010 19:19:17 +0000
(19:19 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 13 Jan 2010 19:19:17 +0000
(19:19 +0000)
SelectSectionForGlobal, unbreaking weak globals with no-name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93336
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 3ef2b3f3abb750c66066bbc0d6975e50d1acd25b..14f510cb2ac137927fce4ebda19a5413e5b758a0 100644
(file)
--- a/
lib/Target/TargetLoweringObjectFile.cpp
+++ b/
lib/Target/TargetLoweringObjectFile.cpp
@@
-1084,7
+1084,7
@@
SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
if (GV->isWeakForLinker()) {
const char *Prefix = getCOFFSectionPrefixForUniqueGlobal(Kind);
SmallString<128> Name(Prefix, Prefix+strlen(Prefix));
- Mang->getNameWithPrefix(Name, GV
->getName()
);
+ Mang->getNameWithPrefix(Name, GV
, false
);
return getCOFFSection(Name.str(), false, Kind);
}