diff options
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/TargetAsmInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/TargetAsmInfo.cpp b/lib/Target/TargetAsmInfo.cpp index 5403b3d..157444a 100644 --- a/lib/Target/TargetAsmInfo.cpp +++ b/lib/Target/TargetAsmInfo.cpp @@ -302,7 +302,7 @@ const Section *TargetAsmInfo::SectionForGlobal(const GlobalValue *GV) const { getSectionPrefixForUniqueGlobal(SectionKindForGlobal(GV))) { // FIXME: Use mangler interface (PR4584). std::string Name = Prefix+GV->getNameStr(); - unsigned Flags = SectionFlagsForGlobal(GV, Name.c_str()); + unsigned Flags = SectionFlagsForGlobal(GV); return getNamedSection(Name.c_str(), Flags); } } |