mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 16:17:17 +00:00
Another getName -> getNameStr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76967 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user