projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f26e740
)
Another getName -> getNameStr
author
Daniel Dunbar
<daniel@zuster.org>
Fri, 24 Jul 2009 12:21:08 +0000
(12:21 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Fri, 24 Jul 2009 12:21:08 +0000
(12:21 +0000)
llvm-svn: 76967
llvm/lib/Target/TargetAsmInfo.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/TargetAsmInfo.cpp
b/llvm/lib/Target/TargetAsmInfo.cpp
index e193dd47a51f89d0dd5a73f40bd74e9b5f7c3e63..5403b3d2ef646466e539f8461b4b5139d24caf24 100644
(file)
--- a/
llvm/lib/Target/TargetAsmInfo.cpp
+++ b/
llvm/lib/Target/TargetAsmInfo.cpp
@@
-301,7
+301,7
@@
const Section *TargetAsmInfo::SectionForGlobal(const GlobalValue *GV) const {
if (const char *Prefix =
getSectionPrefixForUniqueGlobal(SectionKindForGlobal(GV))) {
// FIXME: Use mangler interface (PR4584).
- std::string Name = Prefix+GV->getName();
+ std::string Name = Prefix+GV->getName
Str
();
unsigned Flags = SectionFlagsForGlobal(GV, Name.c_str());
return getNamedSection(Name.c_str(), Flags);
}