Home
last modified time | relevance | path

Searched refs:SymTabOrErr (Results 1 – 8 of 8) sorted by relevance

/external/llvm/tools/obj2yaml/
Delf2yaml.cpp285 ErrorOr<const Elf_Shdr *> SymTabOrErr = Obj.getSection(Shdr->sh_link); in dumpRelSection() local
286 if (std::error_code EC = SymTabOrErr.getError()) in dumpRelSection()
288 const Elf_Shdr *SymTab = *SymTabOrErr; in dumpRelSection()
309 ErrorOr<const Elf_Shdr *> SymTabOrErr = Obj.getSection(Shdr->sh_link); in dumpRelaSection() local
310 if (std::error_code EC = SymTabOrErr.getError()) in dumpRelaSection()
312 const Elf_Shdr *SymTab = *SymTabOrErr; in dumpRelaSection()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DELFObjectFile.h457 auto SymTabOrErr = EF.getSection(Sym.d.a); in getSymbolName() local
458 if (!SymTabOrErr) in getSymbolName()
459 return SymTabOrErr.takeError(); in getSymbolName()
460 const Elf_Shdr *SymTableSec = *SymTabOrErr; in getSymbolName()
526 auto SymTabOrErr = EF.getSection(Symb.d.a); in getSymbolAddress() local
527 if (!SymTabOrErr) in getSymbolAddress()
528 return SymTabOrErr.takeError(); in getSymbolAddress()
529 const Elf_Shdr *SymTab = *SymTabOrErr; in getSymbolAddress()
683 auto SymTabOrErr = EF.getSection(Symb.d.a); in getSymbolSection() local
684 if (!SymTabOrErr) in getSymbolSection()
[all …]
/external/llvm-project/llvm/include/llvm/Object/
DELFObjectFile.h503 auto SymTabOrErr = EF.getSection(Sym.d.a); in getSymbolName() local
504 if (!SymTabOrErr) in getSymbolName()
505 return SymTabOrErr.takeError(); in getSymbolName()
506 const Elf_Shdr *SymTableSec = *SymTabOrErr; in getSymbolName()
576 auto SymTabOrErr = EF.getSection(Symb.d.a); in getSymbolAddress() local
577 if (!SymTabOrErr) in getSymbolAddress()
578 return SymTabOrErr.takeError(); in getSymbolAddress()
592 EF.getSection(*ESym, *SymTabOrErr, ShndxTable); in getSymbolAddress()
764 auto SymTabOrErr = EF.getSection(Symb.d.a); in getSymbolSection() local
765 if (!SymTabOrErr) in getSymbolSection()
[all …]
/external/llvm-project/llvm/tools/llvm-readobj/
DARMEHABIPrinter.h410 auto SymTabOrErr = ELF.getSection(Sec.sh_link); in FindExceptionTable() local
411 if (!SymTabOrErr) in FindExceptionTable()
412 reportError(SymTabOrErr.takeError(), FileName); in FindExceptionTable()
413 const Elf_Shdr *SymTab = *SymTabOrErr; in FindExceptionTable()
DELFDumper.cpp517 Expected<std::pair<ArrayRef<Elf_Sym>, StringRef>> SymTabOrErr = in getVersionTable() local
519 if (!SymTabOrErr) { in getVersionTable()
520 reportUniqueWarning(SymTabOrErr.takeError()); in getVersionTable()
524 if (SymTabOrErr->first.size() != VersionsOrErr->size()) in getVersionTable()
528 Twine(SymTabOrErr->first.size()) + in getVersionTable()
533 std::tie(*SymTab, *StrTab) = *SymTabOrErr; in getVersionTable()
5714 Expected<const Elf_Shdr *> SymTabOrErr = Obj.getSection(Sec.sh_link); in forEachRelocationDo() local
5715 if (!SymTabOrErr) { in forEachRelocationDo()
5716 Warn(SymTabOrErr.takeError(), "unable to locate a symbol table for"); in forEachRelocationDo()
5719 SymTab = *SymTabOrErr; in forEachRelocationDo()
/external/llvm/tools/llvm-readobj/
DARMEHABIPrinter.h386 ErrorOr<const Elf_Shdr *> SymTabOrErr = ELF->getSection(Sec.sh_link); in FindExceptionTable() local
387 error(SymTabOrErr.getError()); in FindExceptionTable()
388 const Elf_Shdr *SymTab = *SymTabOrErr; in FindExceptionTable()
/external/llvm-project/llvm/tools/obj2yaml/
Delf2yaml.cpp1069 auto SymTabOrErr = Obj.getSection(Shdr->sh_link); in dumpRelocSection() local
1070 if (!SymTabOrErr) in dumpRelocSection()
1071 return SymTabOrErr.takeError(); in dumpRelocSection()
1082 if (Error E = dumpRelocation(&Rel, *SymTabOrErr, R)) in dumpRelocSection()
1092 if (Error E = dumpRelocation(&Rel, *SymTabOrErr, R)) in dumpRelocSection()
/external/llvm/tools/llvm-objdump/
Dllvm-objdump.cpp502 ErrorOr<const Elf_Shdr *> SymTabOrErr = EF.getSection(Sec->sh_link); in getRelocationValueString() local
503 if (std::error_code EC = SymTabOrErr.getError()) in getRelocationValueString()
505 const Elf_Shdr *SymTab = *SymTabOrErr; in getRelocationValueString()