Home
last modified time | relevance | path

Searched refs:ContentsOrErr (Results 1 – 7 of 7) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Object/
H A DELF.cpp397 Expected<ArrayRef<uint8_t>> ContentsOrErr = getSectionContents(Sec); in android_relas() local
398 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() local
697 if (!ContentsOrErr) in decodeBBAddrMapImpl()
698 return ContentsOrErr.takeError(); in decodeBBAddrMapImpl()
699 ArrayRef<uint8_t> Content = *ContentsOrErr; in decodeBBAddrMapImpl()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Object/
H A DELF.h990 Expected<ArrayRef<uint8_t>> ContentsOrErr = getSectionContents(Sec); in getVersionDefinitions() local
991 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() local
1084 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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DInputFile.cpp104 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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DSymbolize.cpp327 Expected<StringRef> ContentsOrErr = Section.getContents(); in getGNUDebuglinkContents() local
328 if (!ContentsOrErr) { in getGNUDebuglinkContents()
329 consumeError(ContentsOrErr.takeError()); in getGNUDebuglinkContents()
332 DataExtractor DE(*ContentsOrErr, Obj->isLittleEndian(), 0); in getGNUDebuglinkContents()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DWP/
H A DDWP.cpp556 Expected<StringRef> ContentsOrErr = Section.getContents(); in handleSection() local
557 if (!ContentsOrErr) in handleSection()
558 return ContentsOrErr.takeError(); in handleSection()
559 StringRef Contents = *ContentsOrErr; in handleSection()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DELFDumper.cpp3354 Expected<ArrayRef<uint8_t>> ContentsOrErr = in printMipsReginfo() local
3356 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 …]
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DDumpOutputStyle.cpp1284 Expected<StringRef> ContentsOrErr = S.getContents(); in dumpTypesFromObjectFile() local
1285 if (!ContentsOrErr) in dumpTypesFromObjectFile()
1286 return ContentsOrErr.takeError(); in dumpTypesFromObjectFile()
1289 BinaryStreamReader Reader(*ContentsOrErr, llvm::endianness::little); in dumpTypesFromObjectFile()