Searched refs:ContentsOrErr (Results 1 – 7 of 7) sorted by relevance
442 Expected<ArrayRef<uint8_t>> ContentsOrErr = getSectionContents(Sec); in crels() local443 if (!ContentsOrErr) in crels()444 return ContentsOrErr.takeError(); in crels()445 return decodeCrel(*ContentsOrErr); in crels()453 Expected<ArrayRef<uint8_t>> ContentsOrErr = getSectionContents(Sec); in android_relas() local454 if (!ContentsOrErr) in android_relas()455 return ContentsOrErr.takeError(); in android_relas()456 ArrayRef<uint8_t> Content = *ContentsOrErr; in android_relas()767 Expected<ArrayRef<uint8_t>> ContentsOrErr = EF.getSectionContents(Sec); in decodeBBAddrMapImpl() local768 if (!ContentsOrErr) in decodeBBAddrMapImpl()[all …]
1038 Expected<ArrayRef<uint8_t>> ContentsOrErr = getSectionContents(Sec); in getVersionDefinitions() local1039 if (!ContentsOrErr) in getVersionDefinitions()1041 toString(ContentsOrErr.takeError())); in getVersionDefinitions()1043 const uint8_t *Start = ContentsOrErr->data(); in getVersionDefinitions()1044 const uint8_t *End = Start + ContentsOrErr->size(); in getVersionDefinitions()1131 Expected<ArrayRef<uint8_t>> ContentsOrErr = getSectionContents(Sec); in getVersionDependencies() local1132 if (!ContentsOrErr) in getVersionDependencies()1134 toString(ContentsOrErr.takeError())); in getVersionDependencies()1136 const uint8_t *Start = ContentsOrErr->data(); in getVersionDependencies()1137 const uint8_t *End = Start + ContentsOrErr->size(); in getVersionDependencies()
104 Expected<StringRef> ContentsOrErr = Section.getContents(); in isCodeViewDebugSubsection() local 105 if (!ContentsOrErr) { in isCodeViewDebugSubsection() 106 consumeError(ContentsOrErr.takeError()); in isCodeViewDebugSubsection() 110 Reader = BinaryStreamReader(*ContentsOrErr, llvm::endianness::little); in isCodeViewDebugSubsection()
327 Expected<StringRef> ContentsOrErr = Section.getContents(); in getGNUDebuglinkContents() local328 if (!ContentsOrErr) { in getGNUDebuglinkContents()329 consumeError(ContentsOrErr.takeError()); in getGNUDebuglinkContents()332 DataExtractor DE(*ContentsOrErr, Obj->isLittleEndian(), 0); in getGNUDebuglinkContents()
580 Expected<StringRef> ContentsOrErr = Section.getContents(); in handleSection() local581 if (!ContentsOrErr) in handleSection()582 return ContentsOrErr.takeError(); in handleSection()583 StringRef Contents = *ContentsOrErr; in handleSection()
3330 Expected<ArrayRef<uint8_t>> ContentsOrErr = in printMipsReginfo() local3332 if (!ContentsOrErr) { in printMipsReginfo()3335 describe(*RegInfoSec) + "): " + toString(ContentsOrErr.takeError())); in printMipsReginfo()3339 if (ContentsOrErr->size() < sizeof(Elf_Mips_RegInfo<ELFT>)) { in printMipsReginfo()3341 Twine::utohexstr(ContentsOrErr->size()) + ")"); in printMipsReginfo()3347 ContentsOrErr->data())); in printMipsReginfo()3740 if (Expected<ArrayRef<Elf_Word>> ContentsOrErr = in getGroups() local3742 if (ContentsOrErr->empty()) in getGroups()3746 Data = *ContentsOrErr; in getGroups()3749 ": " + toString(ContentsOrErr.takeError())); in getGroups()[all …]
1283 Expected<StringRef> ContentsOrErr = S.getContents(); in dumpTypesFromObjectFile() local1284 if (!ContentsOrErr) in dumpTypesFromObjectFile()1285 return ContentsOrErr.takeError(); in dumpTypesFromObjectFile()1288 BinaryStreamReader Reader(*ContentsOrErr, llvm::endianness::little); in dumpTypesFromObjectFile()