Another getName -> getNameStr

llvm-svn: 76967
This commit is contained in:
Daniel Dunbar 2009-07-24 12:21:08 +00:00
parent f26e740c89
commit 555d1001d5
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,7 @@ const Section *TargetAsmInfo::SectionForGlobal(const GlobalValue *GV) const {
if (const char *Prefix = if (const char *Prefix =
getSectionPrefixForUniqueGlobal(SectionKindForGlobal(GV))) { getSectionPrefixForUniqueGlobal(SectionKindForGlobal(GV))) {
// FIXME: Use mangler interface (PR4584). // FIXME: Use mangler interface (PR4584).
std::string Name = Prefix+GV->getName(); std::string Name = Prefix+GV->getNameStr();
unsigned Flags = SectionFlagsForGlobal(GV, Name.c_str()); unsigned Flags = SectionFlagsForGlobal(GV, Name.c_str());
return getNamedSection(Name.c_str(), Flags); return getNamedSection(Name.c_str(), Flags);
} }