Searched refs:SectionOrErr (Results 1 – 10 of 10) sorted by relevance
110 Expected<std::optional<StringRef>> SectionOrErr = in link() local112 if (!SectionOrErr) in link()113 return SectionOrErr.takeError(); in link()115 if (std::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()
73 auto SectionOrErr = Symbol->getSection(); in processRelocationRef() local74 if (!SectionOrErr) in processRelocationRef()75 return SectionOrErr.takeError(); in processRelocationRef()76 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()
596 Expected<section_iterator> SectionOrErr = Sym.getSection(); in loadMainBinarySymbols() local597 if (!SectionOrErr) { in loadMainBinarySymbols()603 Section = *SectionOrErr; in loadMainBinarySymbols()
1169 Expected<const Elf_Shdr *> SectionOrErr = in getStringTableForSymtab() local1171 if (!SectionOrErr) in getStringTableForSymtab()1172 return SectionOrErr.takeError(); in getStringTableForSymtab()1173 return getStringTable(**SectionOrErr); in getStringTableForSymtab()
603 Expected<const Elf_Shdr *> SectionOrErr = in getSymbolAddress() local605 if (!SectionOrErr) in getSymbolAddress()606 return SectionOrErr.takeError(); in getSymbolAddress()607 const Elf_Shdr *Section = *SectionOrErr; in getSymbolAddress()
1263 auto SectionOrErr = Symbol->getSection(); in processRelocationRef() local1264 if (!SectionOrErr) { in processRelocationRef()1267 logAllUnhandledErrors(SectionOrErr.takeError(), OS); in processRelocationRef()1270 section_iterator si = *SectionOrErr; in processRelocationRef()
301 auto SectionOrErr = getStructOrErr<Section>(Obj, Sec); in parseSegmentLoadCommand() local302 if (!SectionOrErr) in parseSegmentLoadCommand()303 return SectionOrErr.takeError(); in parseSegmentLoadCommand()304 Section s = SectionOrErr.get(); in parseSegmentLoadCommand()
6139 Expected<const Elf_Shdr *> SectionOrErr = in printStackSize() local6141 if (!SectionOrErr) { in printStackSize()6144 (*TargetOrErr).Name + "': " + toString(SectionOrErr.takeError())); in printStackSize()6145 } else if (*SectionOrErr != FunctionSec) { in printStackSize()6150 FunctionSec = *SectionOrErr; in printStackSize()