HomeSort by: relevance | last modified time | path
    Searched defs:SecOrErr (Results 1 - 10 of 10) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/COFF/
Reader.cpp 60 Expected<const coff_section *> SecOrErr = COFFObj.getSection(I);
61 if (!SecOrErr)
62 return SecOrErr.takeError();
63 const coff_section *Sec = *SecOrErr;
  /src/external/apache2/llvm/dist/llvm/lib/Object/
Object.cpp 220 Expected<section_iterator> SecOrErr = (*unwrap(Sym))->getSection();
221 if (!SecOrErr) {
224 logAllUnhandledErrors(SecOrErr.takeError(), OS);
228 *unwrap(Sect) = *SecOrErr;
  /src/external/apache2/llvm/dist/llvm/tools/llvm-objdump/
ELFDump.cpp 61 auto SecOrErr = EF.getSection(Rel.d.a);
62 if (!SecOrErr)
63 return SecOrErr.takeError();
73 if ((*SecOrErr)->sh_type == ELF::SHT_RELA) {
77 } else if ((*SecOrErr)->sh_type == ELF::SHT_REL) {
  /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/IntelJITEvents/
IntelJITEventListener.cpp 273 auto SecOrErr = Sym.getSection();
274 if (!SecOrErr) {
276 consumeError(SecOrErr.takeError());
279 object::section_iterator Sec = *SecOrErr;
  /src/external/apache2/llvm/dist/llvm/tools/llvm-rtdyld/
llvm-rtdyld.cpp 453 auto SecOrErr = Sym.getSection();
454 if (!SecOrErr) {
456 consumeError(SecOrErr.takeError());
459 object::section_iterator Sec = *SecOrErr;
465 } else if (auto SecOrErr = Sym.getSection())
466 Address.SectionIndex = SecOrErr.get()->getIndex();
  /src/external/apache2/llvm/dist/llvm/include/llvm/Object/
ELF.h 818 auto SecOrErr = getSection(Section);
819 if (!SecOrErr)
820 return SecOrErr.takeError();
821 return getEntry<T>(**SecOrErr, Entry);
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/
DWARFContext.cpp 1680 Expected<section_iterator> SecOrErr = Section.getRelocatedSection();
1681 if (!SecOrErr) {
1683 SecOrErr.takeError()));
1690 section_iterator RelocatedSection = *SecOrErr;
  /src/external/apache2/llvm/dist/llvm/tools/llvm-nm/
llvm-nm.cpp 535 Expected<section_iterator> SecOrErr =
537 if (!SecOrErr) {
538 consumeError(SecOrErr.takeError());
542 Sec = *SecOrErr;
1047 Expected<section_iterator> SecOrErr = Obj.getSymbolSection(Symb);
1048 if (!SecOrErr) {
1049 consumeError(SecOrErr.takeError());
1052 section_iterator Sec = *SecOrErr;
  /src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/
COFFDumper.cpp 1494 Expected<const coff_section *> SecOrErr =
1496 if (!SecOrErr) {
1500 consumeError(SecOrErr.takeError());
1503 const coff_section *Section = *SecOrErr;
ELFDumper.cpp 934 Expected<const Elf_Shdr *> SecOrErr = Obj.getSection(SectionIndex);
935 if (!SecOrErr)
936 return SecOrErr.takeError();
937 return Obj.getSectionName(**SecOrErr);
3352 if (Expected<const Elf_Shdr *> SecOrErr = Obj.getSection(Ndx)) {
3353 GM.push_back({getPrintableSectionName(**SecOrErr), Ndx});
3357 ": " + toString(SecOrErr.takeError()));
5733 if (Expected<const Elf_Shdr *> SecOrErr =
5736 if (*FunctionSec != *SecOrErr)
5743 "': " + toString(SecOrErr.takeError()))
    [all...]

Completed in 62 milliseconds