Searched refs:ContentsOrErr (Results 1 – 9 of 9) sorted by relevance
380 Expected<ArrayRef<uint8_t>> ContentsOrErr = getSectionContents(Sec); in android_relas() local381 if (!ContentsOrErr) in android_relas()382 return ContentsOrErr.takeError(); in android_relas()383 ArrayRef<uint8_t> Content = *ContentsOrErr; in android_relas()618 Expected<ArrayRef<uint8_t>> ContentsOrErr = getSectionContents(Sec); in decodeBBAddrMap() local619 if (!ContentsOrErr) in decodeBBAddrMap()620 return ContentsOrErr.takeError(); in decodeBBAddrMap()621 ArrayRef<uint8_t> Content = *ContentsOrErr; in decodeBBAddrMap()
877 Expected<ArrayRef<uint8_t>> ContentsOrErr = getSectionContents(Sec); in getVersionDefinitions() local878 if (!ContentsOrErr) in getVersionDefinitions()880 toString(ContentsOrErr.takeError())); in getVersionDefinitions()882 const uint8_t *Start = ContentsOrErr->data(); in getVersionDefinitions()883 const uint8_t *End = Start + ContentsOrErr->size(); in getVersionDefinitions()970 Expected<ArrayRef<uint8_t>> ContentsOrErr = getSectionContents(Sec); in getVersionDependencies() local971 if (!ContentsOrErr) in getVersionDependencies()973 toString(ContentsOrErr.takeError())); in getVersionDependencies()975 const uint8_t *Start = ContentsOrErr->data(); in getVersionDependencies()976 const uint8_t *End = Start + ContentsOrErr->size(); in getVersionDependencies()
77 Expected<StringRef> ContentsOrErr = Section.getContents(); in isCodeViewDebugSubsection() local78 if (!ContentsOrErr) { in isCodeViewDebugSubsection()79 consumeError(ContentsOrErr.takeError()); in isCodeViewDebugSubsection()83 Reader = BinaryStreamReader(*ContentsOrErr, support::little); in isCodeViewDebugSubsection()
1381 Expected<StringRef> ContentsOrErr = S.getContents(); in dumpTypesFromObjectFile() local1382 if (!ContentsOrErr) in dumpTypesFromObjectFile()1383 return ContentsOrErr.takeError(); in dumpTypesFromObjectFile()1386 BinaryStreamReader Reader(*ContentsOrErr, llvm::support::little); in dumpTypesFromObjectFile()
290 Expected<StringRef> ContentsOrErr = Section.getContents(); in getGNUDebuglinkContents() local291 if (!ContentsOrErr) { in getGNUDebuglinkContents()292 consumeError(ContentsOrErr.takeError()); in getGNUDebuglinkContents()295 DataExtractor DE(*ContentsOrErr, Obj->isLittleEndian(), 0); in getGNUDebuglinkContents()
497 Expected<StringRef> ContentsOrErr = Section.getContents(); in findValidRelocsMachO() local498 if (!ContentsOrErr) { in findValidRelocsMachO()499 consumeError(ContentsOrErr.takeError()); in findValidRelocsMachO()503 DataExtractor Data(*ContentsOrErr, Obj.isLittleEndian(), 0); in findValidRelocsMachO()
446 if (Expected<StringRef> ContentsOrErr = Section.getContents()) { in generateDsymCompanion() local447 EHFrameData = *ContentsOrErr; in generateDsymCompanion()450 consumeError(ContentsOrErr.takeError()); in generateDsymCompanion()
561 Expected<StringRef> ContentsOrErr = Section.getContents(); in handleSection() local562 if (!ContentsOrErr) in handleSection()563 return ContentsOrErr.takeError(); in handleSection()564 StringRef Contents = *ContentsOrErr; in handleSection()
3012 Expected<ArrayRef<uint8_t>> ContentsOrErr = in printMipsReginfo() local3014 if (!ContentsOrErr) { in printMipsReginfo()3017 describe(*RegInfoSec) + "): " + toString(ContentsOrErr.takeError())); in printMipsReginfo()3021 if (ContentsOrErr->size() < sizeof(Elf_Mips_RegInfo<ELFT>)) { in printMipsReginfo()3023 Twine::utohexstr(ContentsOrErr->size()) + ")"); in printMipsReginfo()3029 ContentsOrErr->data())); in printMipsReginfo()3326 if (Expected<ArrayRef<Elf_Word>> ContentsOrErr = in getGroups() local3328 if (ContentsOrErr->empty()) in getGroups()3332 Data = *ContentsOrErr; in getGroups()3335 ": " + toString(ContentsOrErr.takeError())); in getGroups()[all …]