Home
last modified time | relevance | path

Searched refs:SymtabOrErr (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/llvm/tools/obj2yaml/
Delf2yaml.cpp641 auto SymtabOrErr = Obj.symbols(Symtab); in dumpSymbols() local
642 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() local
1441 if (!SymtabOrErr) in getSymbolName()
1442 return SymtabOrErr.takeError(); in getSymbolName()
1444 const Elf_Shdr *Symtab = *SymtabOrErr; in getSymbolName()
/external/llvm/tools/obj2yaml/
Delf2yaml.cpp362 ErrorOr<const Elf_Shdr *> SymtabOrErr = Obj.getSection(Shdr->sh_link); in dumpGroup() local
363 if (std::error_code EC = SymtabOrErr.getError()) in dumpGroup()
365 const Elf_Shdr *Symtab = *SymtabOrErr; in dumpGroup()
/external/llvm-project/llvm/tools/llvm-readobj/
DELFDumper.cpp475 Expected<const typename ELFT::Shdr *> SymtabOrErr = in getLinkAsSymtab() local
477 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() local
3601 Obj.template getEntry<Elf_Sym>(**SymtabOrErr, Sec.sh_info)) in getGroups()
3602 Signature = GetSignature(**SymOrErr, Sec.sh_info, **SymtabOrErr); in getGroups()
[all …]
/external/llvm-project/llvm/lib/Object/
DMachOObjectFile.cpp411 auto SymtabOrErr = getStructOrErr<MachO::symtab_command>(Obj, Load.Ptr); in checkSymtabCommand() local
412 if (!SymtabOrErr) in checkSymtabCommand()
413 return SymtabOrErr.takeError(); in checkSymtabCommand()
414 MachO::symtab_command Symtab = SymtabOrErr.get(); in checkSymtabCommand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DMachOObjectFile.cpp411 auto SymtabOrErr = getStructOrErr<MachO::symtab_command>(Obj, Load.Ptr); in checkSymtabCommand() local
412 if (!SymtabOrErr) in checkSymtabCommand()
413 return SymtabOrErr.takeError(); in checkSymtabCommand()
414 MachO::symtab_command Symtab = SymtabOrErr.get(); in checkSymtabCommand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp6416 Expected<StringRef> SymtabOrErr = in getBitcodeFileContents() local
6418 if (!SymtabOrErr) in getBitcodeFileContents()
6419 return SymtabOrErr.takeError(); in getBitcodeFileContents()
6428 F.Symtab = *SymtabOrErr; in getBitcodeFileContents()
/external/llvm-project/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp6643 Expected<StringRef> SymtabOrErr = in getBitcodeFileContents() local
6645 if (!SymtabOrErr) in getBitcodeFileContents()
6646 return SymtabOrErr.takeError(); in getBitcodeFileContents()
6655 F.Symtab = *SymtabOrErr; in getBitcodeFileContents()