From: Daniel Dunbar Date: Fri, 24 Jul 2009 12:21:08 +0000 (+0000) Subject: Another getName -> getNameStr X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=895c9ede1f771b724889fa440afbe3097270388c;p=oota-llvm.git Another getName -> getNameStr git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76967 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/TargetAsmInfo.cpp b/lib/Target/TargetAsmInfo.cpp index e193dd47a51..5403b3d2ef6 100644 --- a/lib/Target/TargetAsmInfo.cpp +++ b/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->getNameStr(); unsigned Flags = SectionFlagsForGlobal(GV, Name.c_str()); return getNamedSection(Name.c_str(), Flags); }