Searched refs:SectionOrErr (Results 1 – 10 of 10) sorted by relevance
104 Expected<Optional<StringRef>> SectionOrErr = getRemarksSectionContents(Obj); in link() local105 if (!SectionOrErr) in link()106 return SectionOrErr.takeError(); in link()108 if (Optional<StringRef> Section = *SectionOrErr) in link()
52 auto SectionOrErr = Symbol->getSection(); in processRelocationRef() local53 if (!SectionOrErr) in processRelocationRef()54 return SectionOrErr.takeError(); in processRelocationRef()55 auto Section = *SectionOrErr; in processRelocationRef()
74 auto SectionOrErr = Symbol->getSection(); in processRelocationRef() local75 if (!SectionOrErr) in processRelocationRef()76 return SectionOrErr.takeError(); in processRelocationRef()77 auto Section = *SectionOrErr; in processRelocationRef()
156 auto SectionOrErr = Symbol->getSection(); in processRelocationRef() local157 if (!SectionOrErr) in processRelocationRef()158 return SectionOrErr.takeError(); in processRelocationRef()159 auto Section = *SectionOrErr; in processRelocationRef()
571 Expected<section_iterator> SectionOrErr = Sym.getSection(); in loadMainBinarySymbols() local572 if (!SectionOrErr) { in loadMainBinarySymbols()574 consumeError(SectionOrErr.takeError()); in loadMainBinarySymbols()577 Section = *SectionOrErr; in loadMainBinarySymbols()
1135 Expected<const Elf_Shdr *> SectionOrErr = in getStringTableForSymtab() local1137 if (!SectionOrErr) in getStringTableForSymtab()1138 return SectionOrErr.takeError(); in getStringTableForSymtab()1139 return getStringTable(**SectionOrErr); in getStringTableForSymtab()
587 Expected<const Elf_Shdr *> SectionOrErr = in getSymbolAddress() local589 if (!SectionOrErr) in getSymbolAddress()590 return SectionOrErr.takeError(); in getSymbolAddress()591 const Elf_Shdr *Section = *SectionOrErr; in getSymbolAddress()
1226 auto SectionOrErr = Symbol->getSection(); in processRelocationRef() local1227 if (!SectionOrErr) { in processRelocationRef()1230 logAllUnhandledErrors(SectionOrErr.takeError(), OS); in processRelocationRef()1234 section_iterator si = *SectionOrErr; in processRelocationRef()
298 auto SectionOrErr = getStructOrErr<Section>(Obj, Sec); in parseSegmentLoadCommand() local299 if (!SectionOrErr) in parseSegmentLoadCommand()300 return SectionOrErr.takeError(); in parseSegmentLoadCommand()301 Section s = SectionOrErr.get(); in parseSegmentLoadCommand()
5809 Expected<const Elf_Shdr *> SectionOrErr = in printStackSize() local5811 if (!SectionOrErr) { in printStackSize()5814 (*TargetOrErr).Name + "': " + toString(SectionOrErr.takeError())); in printStackSize()5815 } else if (*SectionOrErr != FunctionSec) { in printStackSize()5820 FunctionSec = *SectionOrErr; in printStackSize()