Searched refs:ContentsOrErr (Results 1 – 11 of 11) sorted by relevance
152 Expected<StringRef> ContentsOrErr = Section.getContents(); in verifyDebugLineContents() local153 ASSERT_TRUE(static_cast<bool>(ContentsOrErr)); in verifyDebugLineContents()154 StringRef Contents = *ContentsOrErr; in verifyDebugLineContents()172 Expected<StringRef> ContentsOrErr = Section.getContents(); in verifyDebugLineStrContents() local173 ASSERT_TRUE(static_cast<bool>(ContentsOrErr)); in verifyDebugLineStrContents()174 StringRef Contents = *ContentsOrErr; in verifyDebugLineStrContents()
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()636 Expected<ArrayRef<uint8_t>> ContentsOrErr = getSectionContents(Sec); in decodeBBAddrMap() local637 if (!ContentsOrErr) in decodeBBAddrMap()638 return ContentsOrErr.takeError(); in decodeBBAddrMap()639 ArrayRef<uint8_t> Content = *ContentsOrErr; in decodeBBAddrMap()
113 Expected<StringRef> ContentsOrErr = Section.getContents(); in getContents() local114 if (!ContentsOrErr) { in getContents()115 Error E = ContentsOrErr.takeError(); in getContents()120 return *ContentsOrErr; in getContents()
901 Expected<ArrayRef<uint8_t>> ContentsOrErr = getSectionContents(Sec); in getVersionDefinitions() local902 if (!ContentsOrErr) in getVersionDefinitions()904 toString(ContentsOrErr.takeError())); in getVersionDefinitions()906 const uint8_t *Start = ContentsOrErr->data(); in getVersionDefinitions()907 const uint8_t *End = Start + ContentsOrErr->size(); in getVersionDefinitions()994 Expected<ArrayRef<uint8_t>> ContentsOrErr = getSectionContents(Sec); in getVersionDependencies() local995 if (!ContentsOrErr) in getVersionDependencies()997 toString(ContentsOrErr.takeError())); in getVersionDependencies()999 const uint8_t *Start = ContentsOrErr->data(); in getVersionDependencies()1000 const uint8_t *End = Start + ContentsOrErr->size(); in getVersionDependencies()
103 Expected<StringRef> ContentsOrErr = Section.getContents(); in isCodeViewDebugSubsection() local104 if (!ContentsOrErr) { in isCodeViewDebugSubsection()105 consumeError(ContentsOrErr.takeError()); in isCodeViewDebugSubsection()109 Reader = BinaryStreamReader(*ContentsOrErr, support::little); in isCodeViewDebugSubsection()
279 Expected<StringRef> ContentsOrErr = Section.getContents(); in getGNUDebuglinkContents() local280 if (!ContentsOrErr) { in getGNUDebuglinkContents()281 consumeError(ContentsOrErr.takeError()); in getGNUDebuglinkContents()284 DataExtractor DE(*ContentsOrErr, Obj->isLittleEndian(), 0); in getGNUDebuglinkContents()
449 if (Expected<StringRef> ContentsOrErr = Section.getContents()) { in generateDsymCompanion() local450 EHFrameData = *ContentsOrErr; in generateDsymCompanion()453 consumeError(ContentsOrErr.takeError()); in generateDsymCompanion()
749 Expected<StringRef> ContentsOrErr = Section.getContents(); in findValidRelocsMachO() local750 if (!ContentsOrErr) { in findValidRelocsMachO()751 consumeError(ContentsOrErr.takeError()); in findValidRelocsMachO()755 DataExtractor Data(*ContentsOrErr, Obj.isLittleEndian(), 0); in findValidRelocsMachO()
497 Expected<StringRef> ContentsOrErr = Section.getContents(); in handleSection() local498 if (!ContentsOrErr) in handleSection()499 return ContentsOrErr.takeError(); in handleSection()500 StringRef Contents = *ContentsOrErr; in handleSection()
3110 Expected<ArrayRef<uint8_t>> ContentsOrErr = in printMipsReginfo() local3112 if (!ContentsOrErr) { in printMipsReginfo()3439 if (ContentsOrErr->empty()) in getGroups()3443 Data = *ContentsOrErr; in getGroups()4850 if (!ContentsOrErr) in decodeAddrsigSection()4851 return ContentsOrErr.takeError(); in decodeAddrsigSection()4854 toULEB128Array(*ContentsOrErr)) in decodeAddrsigSection()5810 if (!ContentsOrErr) { in printDependentLibsHelper()7283 if (!ContentsOrErr) { in printELFLinkerOptions()7289 if (ContentsOrErr->empty()) in printELFLinkerOptions()[all …]
1282 Expected<StringRef> ContentsOrErr = S.getContents(); in dumpTypesFromObjectFile() local1283 if (!ContentsOrErr) in dumpTypesFromObjectFile()1284 return ContentsOrErr.takeError(); in dumpTypesFromObjectFile()1287 BinaryStreamReader Reader(*ContentsOrErr, llvm::support::little); in dumpTypesFromObjectFile()