Lines Matching refs:NameOrErr
132 auto NameOrErr = Obj.getSectionName(*Sec); in getUniquedSectionName() local
133 if (!NameOrErr) in getUniquedSectionName()
134 return NameOrErr; in getUniquedSectionName()
135 StringRef Name = *NameOrErr; in getUniquedSectionName()
612 auto NameOrErr = Obj.getSectionName(Sec); in dumpSections() local
613 if (!NameOrErr) in dumpSections()
614 return NameOrErr.takeError(); in dumpSections()
616 if (ELFYAML::StackSizesSection::nameMatches(*NameOrErr)) { in dumpSections()
687 auto NameOrErr = getUniquedSectionName(Shdr); in dumpSymbol() local
688 if (!NameOrErr) in dumpSymbol()
689 return NameOrErr.takeError(); in dumpSymbol()
690 S.Section = NameOrErr.get(); in dumpSymbol()
720 Expected<StringRef> NameOrErr = in dumpRelocation() local
722 if (!NameOrErr) in dumpRelocation()
723 return NameOrErr.takeError(); in dumpRelocation()
724 R.Symbol = NameOrErr.get(); in dumpRelocation()
764 auto NameOrErr = getUniquedSectionName(Shdr); in dumpCommonSection() local
765 if (!NameOrErr) in dumpCommonSection()
766 return NameOrErr.takeError(); in dumpCommonSection()
767 S.Name = NameOrErr.get(); in dumpCommonSection()
780 NameOrErr = getUniquedSectionName(*LinkSection); in dumpCommonSection()
781 if (!NameOrErr) in dumpCommonSection()
782 return NameOrErr.takeError(); in dumpCommonSection()
783 S.Link = NameOrErr.get(); in dumpCommonSection()
804 auto NameOrErr = getUniquedSectionName(*InfoSection); in dumpCommonRelocationSection() local
805 if (!NameOrErr) in dumpCommonRelocationSection()
806 return NameOrErr.takeError(); in dumpCommonRelocationSection()
807 S.RelocatableSec = NameOrErr.get(); in dumpCommonRelocationSection()
1482 auto NameOrErr = getUniquedSectionName(*SHdrOrErr); in dumpGroupSection() local
1483 if (!NameOrErr) in dumpGroupSection()
1484 return NameOrErr.takeError(); in dumpGroupSection()
1485 S->Members->push_back({*NameOrErr}); in dumpGroupSection()