Searched refs:SectionOrErr (Results 1 – 11 of 11) sorted by relevance
99 Expected<std::optional<StringRef>> SectionOrErr = in link() local101 if (!SectionOrErr) in link()102 return SectionOrErr.takeError(); in link()104 if (std::optional<StringRef> Section = *SectionOrErr) in link()
52 auto SectionOrErr = Symbol->getSection(); in processRelocationRef() local 53 if (!SectionOrErr) in processRelocationRef() 54 return SectionOrErr.takeError(); in processRelocationRef() 55 auto Section = *SectionOrErr; in processRelocationRef()
96 auto SectionOrErr = Symbol->getSection(); in processRelocationRef() local97 if (!SectionOrErr) in processRelocationRef()98 return SectionOrErr.takeError(); in processRelocationRef()99 auto Section = *SectionOrErr; in processRelocationRef()
169 auto SectionOrErr = Symbol->getSection(); in processRelocationRef() local170 if (!SectionOrErr) in processRelocationRef()171 return SectionOrErr.takeError(); in processRelocationRef()172 auto Section = *SectionOrErr; in processRelocationRef()
644 Expected<StringRef> SectionOrErr = Section.getContents(); in traverseSymbolSection() local645 if (!SectionOrErr) in traverseSymbolSection()646 return SectionOrErr.takeError(); in traverseSymbolSection()647 StringRef SectionContents = *SectionOrErr; in traverseSymbolSection()826 Expected<const coff_section *> SectionOrErr = in mapRangeAddress()828 if (!SectionOrErr) { in mapRangeAddress()831 consumeError(SectionOrErr.takeError()); in mapRangeAddress()
390 Expected<std::pair<uint64_t, const object::SectionRef>> SectionOrErr = in createInstructions() local392 if (!SectionOrErr) in createInstructions()393 return SectionOrErr.takeError(); in createInstructions()394 const object::SectionRef Section = (*SectionOrErr).second; in createInstructions()395 uint64_t SectionAddress = (*SectionOrErr).first; in createInstructions()399 return SectionOrErr.takeError(); in createInstructions()
1302 Expected<const Elf_Shdr *> SectionOrErr = in getStringTableForSymtab() local1304 if (!SectionOrErr) in getStringTableForSymtab()1305 return SectionOrErr.takeError(); in getStringTableForSymtab()1306 return getStringTable(**SectionOrErr); in getStringTableForSymtab()
658 Expected<const Elf_Shdr *> SectionOrErr = in getSymbolAddress() local660 if (!SectionOrErr) in getSymbolAddress()661 return SectionOrErr.takeError(); in getSymbolAddress()662 const Elf_Shdr *Section = *SectionOrErr; in getSymbolAddress()
1647 auto SectionOrErr = Symbol->getSection(); in processRelocationRef() local1648 if (!SectionOrErr) { in processRelocationRef()1651 logAllUnhandledErrors(SectionOrErr.takeError(), OS); in processRelocationRef()1654 section_iterator si = *SectionOrErr; in processRelocationRef()
307 auto SectionOrErr = getStructOrErr<Section>(Obj, Sec); in parseSegmentLoadCommand() local308 if (!SectionOrErr) in parseSegmentLoadCommand()309 return SectionOrErr.takeError(); in parseSegmentLoadCommand()310 Section s = SectionOrErr.get(); in parseSegmentLoadCommand()
6786 Expected<const Elf_Shdr *> SectionOrErr = in printStackSize() local6788 if (!SectionOrErr) { in printStackSize()6791 (*TargetOrErr).Name + "': " + toString(SectionOrErr.takeError())); in printStackSize()6792 } else if (*SectionOrErr != FunctionSec) { in printStackSize()6797 FunctionSec = *SectionOrErr; in printStackSize()