Searched refs:ContentsOrErr (Results 1 – 10 of 10) sorted by relevance
444 Expected<ArrayRef<uint8_t>> ContentsOrErr = getSectionContents(Sec); in crels() local445 if (!ContentsOrErr) in crels()446 return ContentsOrErr.takeError(); in crels()447 return decodeCrel(*ContentsOrErr); in crels()455 Expected<ArrayRef<uint8_t>> ContentsOrErr = getSectionContents(Sec); in android_relas() local456 if (!ContentsOrErr) in android_relas()457 return ContentsOrErr.takeError(); in android_relas()458 ArrayRef<uint8_t> Content = *ContentsOrErr; in android_relas()781 Expected<ArrayRef<uint8_t>> ContentsOrErr = EF.getSectionContents(Sec); in decodeBBAddrMapImpl() local782 if (!ContentsOrErr) in decodeBBAddrMapImpl()[all …]
81 Expected<StringRef> ContentsOrErr = Section.getContents(); in mergeFromObjectFile() local82 if (!ContentsOrErr) in mergeFromObjectFile()83 return ContentsOrErr.takeError(); in mergeFromObjectFile()84 processSectionContents(*NameOrErr, *ContentsOrErr); in mergeFromObjectFile()
238 Expected<StringRef> ContentsOrErr = S.getContents(); in identifyImportName() local239 if (!ContentsOrErr) { in identifyImportName()240 printError(ContentsOrErr.takeError(), ObjName); in identifyImportName()243 StringRef Contents = *ContentsOrErr; in identifyImportName()
1044 Expected<ArrayRef<uint8_t>> ContentsOrErr = getSectionContents(Sec); in getVersionDefinitions() local1045 if (!ContentsOrErr) in getVersionDefinitions()1047 toString(ContentsOrErr.takeError())); in getVersionDefinitions()1049 const uint8_t *Start = ContentsOrErr->data(); in getVersionDefinitions()1050 const uint8_t *End = Start + ContentsOrErr->size(); in getVersionDefinitions()1137 Expected<ArrayRef<uint8_t>> ContentsOrErr = getSectionContents(Sec); in getVersionDependencies() local1138 if (!ContentsOrErr) in getVersionDependencies()1140 toString(ContentsOrErr.takeError())); in getVersionDependencies()1142 const uint8_t *Start = ContentsOrErr->data(); in getVersionDependencies()1143 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()
332 Expected<StringRef> ContentsOrErr = Section.getContents(); in getGNUDebuglinkContents() local333 if (!ContentsOrErr) { in getGNUDebuglinkContents()334 consumeError(ContentsOrErr.takeError()); in getGNUDebuglinkContents()337 DataExtractor DE(*ContentsOrErr, Obj->isLittleEndian(), 0); in getGNUDebuglinkContents()
577 Expected<StringRef> ContentsOrErr = Section.getContents(); in handleSection() local578 if (!ContentsOrErr) in handleSection()579 return ContentsOrErr.takeError(); in handleSection()580 StringRef Contents = *ContentsOrErr; in handleSection()
3393 Expected<ArrayRef<uint8_t>> ContentsOrErr = in printMipsReginfo() local3395 if (!ContentsOrErr) { in printMipsReginfo()3398 describe(*RegInfoSec) + "): " + toString(ContentsOrErr.takeError())); in printMipsReginfo()3402 if (ContentsOrErr->size() < sizeof(Elf_Mips_RegInfo<ELFT>)) { in printMipsReginfo()3404 Twine::utohexstr(ContentsOrErr->size()) + ")"); in printMipsReginfo()3410 ContentsOrErr->data())); in printMipsReginfo()3805 if (Expected<ArrayRef<Elf_Word>> ContentsOrErr = in getGroups() local3807 if (ContentsOrErr->empty()) in getGroups()3811 Data = *ContentsOrErr; in getGroups()3814 ": " + toString(ContentsOrErr.takeError())); in getGroups()[all …]
1128 auto ContentsOrErr = Section.getContents(); in lookupAllocatableSection() local1129 if (!ContentsOrErr) in lookupAllocatableSection()1130 return ContentsOrErr.takeError(); in lookupAllocatableSection()1131 auto Content = *ContentsOrErr; in lookupAllocatableSection()
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()