Lines Matching defs:methname
843 auto methname = cisec->getStringRefAtOffset(d->value);
844 methnameToSelref[CachedHashStringRef(methname)] = isec;
852 ConcatInputSection *ObjCSelRefsHelper::makeSelRef(StringRef methname) {
854 in.objcMethnameSection->getStringOffset(methname).outSecOff;
873 methnameToSelref[CachedHashStringRef(methname)] = objcSelref;
877 ConcatInputSection *ObjCSelRefsHelper::getSelRef(StringRef methname) {
878 auto it = methnameToSelref.find(CachedHashStringRef(methname));
899 StringRef methname = name.drop_front(symbolPrefix.size());
900 return methname;
904 StringRef methname = getMethname(sym);
905 // We create a selref entry for each unique methname.
906 if (!ObjCSelRefsHelper::getSelRef(methname))
907 ObjCSelRefsHelper::makeSelRef(methname);
955 auto methname = getMethname(sym);
956 InputSection *selRef = ObjCSelRefsHelper::getSelRef(methname);
957 assert(selRef != nullptr && "no selref for methname");
2036 StringRef methname = reloc->getReferentString();
2037 if (!ObjCSelRefsHelper::getSelRef(methname))
2038 ObjCSelRefsHelper::makeSelRef(methname);
2139 StringRef methname = reloc->getReferentString();
2140 ConcatInputSection *selRef = ObjCSelRefsHelper::getSelRef(methname);