Searched refs:SymtabOrErr (Results 1 – 7 of 7) sorted by relevance
641 auto SymtabOrErr = Obj.symbols(Symtab); in dumpSymbols() local642 if (!SymtabOrErr) in dumpSymbols()643 return SymtabOrErr.takeError(); in dumpSymbols()646 SymTable = *SymtabOrErr; in dumpSymbols()650 for (const auto &Sym : (*SymtabOrErr).drop_front()) { in dumpSymbols()1440 auto SymtabOrErr = Obj.getSection(SymtabNdx); in getSymbolName() local1441 if (!SymtabOrErr) in getSymbolName()1442 return SymtabOrErr.takeError(); in getSymbolName()1444 const Elf_Shdr *Symtab = *SymtabOrErr; in getSymbolName()
362 ErrorOr<const Elf_Shdr *> SymtabOrErr = Obj.getSection(Shdr->sh_link); in dumpGroup() local363 if (std::error_code EC = SymtabOrErr.getError()) in dumpGroup()365 const Elf_Shdr *Symtab = *SymtabOrErr; in dumpGroup()
475 Expected<const typename ELFT::Shdr *> SymtabOrErr = in getLinkAsSymtab() local477 if (!SymtabOrErr) in getLinkAsSymtab()479 ": " + toString(SymtabOrErr.takeError())); in getLinkAsSymtab()481 if ((*SymtabOrErr)->sh_type != ExpectedType) in getLinkAsSymtab()487 (*SymtabOrErr)->sh_type)); in getLinkAsSymtab()489 Expected<StringRef> StrTabOrErr = getLinkAsStrtab(Obj, **SymtabOrErr); in getLinkAsSymtab()495 Expected<typename ELFT::SymRange> SymsOrErr = Obj.symbols(*SymtabOrErr); in getLinkAsSymtab()3599 if (Expected<const Elf_Shdr *> SymtabOrErr = Obj.getSection(Sec.sh_link)) { in getGroups() local3601 Obj.template getEntry<Elf_Sym>(**SymtabOrErr, Sec.sh_info)) in getGroups()3602 Signature = GetSignature(**SymOrErr, Sec.sh_info, **SymtabOrErr); in getGroups()[all …]
411 auto SymtabOrErr = getStructOrErr<MachO::symtab_command>(Obj, Load.Ptr); in checkSymtabCommand() local412 if (!SymtabOrErr) in checkSymtabCommand()413 return SymtabOrErr.takeError(); in checkSymtabCommand()414 MachO::symtab_command Symtab = SymtabOrErr.get(); in checkSymtabCommand()
6416 Expected<StringRef> SymtabOrErr = in getBitcodeFileContents() local6418 if (!SymtabOrErr) in getBitcodeFileContents()6419 return SymtabOrErr.takeError(); in getBitcodeFileContents()6428 F.Symtab = *SymtabOrErr; in getBitcodeFileContents()
6643 Expected<StringRef> SymtabOrErr = in getBitcodeFileContents() local6645 if (!SymtabOrErr) in getBitcodeFileContents()6646 return SymtabOrErr.takeError(); in getBitcodeFileContents()6655 F.Symtab = *SymtabOrErr; in getBitcodeFileContents()