Searched refs:ContentsOrErr (Results 1 – 7 of 7) sorted by relevance
397 Expected<ArrayRef<uint8_t>> ContentsOrErr = getSectionContents(Sec); in android_relas() local398 if (!ContentsOrErr) in android_relas()399 return ContentsOrErr.takeError(); in android_relas()400 ArrayRef<uint8_t> Content = *ContentsOrErr; in android_relas()696 Expected<ArrayRef<uint8_t>> ContentsOrErr = EF.getSectionContents(Sec); in decodeBBAddrMapImpl() local697 if (!ContentsOrErr) in decodeBBAddrMapImpl()698 return ContentsOrErr.takeError(); in decodeBBAddrMapImpl()699 ArrayRef<uint8_t> Content = *ContentsOrErr; in decodeBBAddrMapImpl()
990 Expected<ArrayRef<uint8_t>> ContentsOrErr = getSectionContents(Sec); in getVersionDefinitions() local991 if (!ContentsOrErr) in getVersionDefinitions()993 toString(ContentsOrErr.takeError())); in getVersionDefinitions()995 const uint8_t *Start = ContentsOrErr->data(); in getVersionDefinitions()996 const uint8_t *End = Start + ContentsOrErr->size(); in getVersionDefinitions()1083 Expected<ArrayRef<uint8_t>> ContentsOrErr = getSectionContents(Sec); in getVersionDependencies() local1084 if (!ContentsOrErr) in getVersionDependencies()1086 toString(ContentsOrErr.takeError())); in getVersionDependencies()1088 const uint8_t *Start = ContentsOrErr->data(); in getVersionDependencies()1089 const uint8_t *End = Start + ContentsOrErr->size(); in getVersionDependencies()
104 Expected<StringRef> ContentsOrErr = Section.getContents(); in isCodeViewDebugSubsection() local105 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()
556 Expected<StringRef> ContentsOrErr = Section.getContents(); in handleSection() local557 if (!ContentsOrErr) in handleSection()558 return ContentsOrErr.takeError(); in handleSection()559 StringRef Contents = *ContentsOrErr; in handleSection()
3354 Expected<ArrayRef<uint8_t>> ContentsOrErr = in printMipsReginfo() local3356 if (!ContentsOrErr) { in printMipsReginfo()3751 if (ContentsOrErr->empty()) in getGroups()3755 Data = *ContentsOrErr; in getGroups()5097 if (!ContentsOrErr) in decodeAddrsigSection()5098 return ContentsOrErr.takeError(); in decodeAddrsigSection()5101 toULEB128Array(*ContentsOrErr)) in decodeAddrsigSection()6259 if (!ContentsOrErr) { in printDependentLibsHelper()7853 if (!ContentsOrErr) { in printELFLinkerOptions()7859 if (ContentsOrErr->empty()) in printELFLinkerOptions()[all …]
1284 Expected<StringRef> ContentsOrErr = S.getContents(); in dumpTypesFromObjectFile() local1285 if (!ContentsOrErr) in dumpTypesFromObjectFile()1286 return ContentsOrErr.takeError(); in dumpTypesFromObjectFile()1289 BinaryStreamReader Reader(*ContentsOrErr, llvm::endianness::little); in dumpTypesFromObjectFile()