Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DELF.cpp442 Expected<ArrayRef<uint8_t>> ContentsOrErr = getSectionContents(Sec); in crels() local
443 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() local
454 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() local
768 if (!ContentsOrErr) in decodeBBAddrMapImpl()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DELF.h1038 Expected<ArrayRef<uint8_t>> ContentsOrErr = getSectionContents(Sec); in getVersionDefinitions() local
1039 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() local
1132 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()
/freebsd/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/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/contrib/llvm-project/llvm/lib/DWP/
H A DDWP.cpp580 Expected<StringRef> ContentsOrErr = Section.getContents(); in handleSection() local
581 if (!ContentsOrErr) in handleSection()
582 return ContentsOrErr.takeError(); in handleSection()
583 StringRef Contents = *ContentsOrErr; in handleSection()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DELFDumper.cpp3330 Expected<ArrayRef<uint8_t>> ContentsOrErr = in printMipsReginfo() local
3332 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() local
3742 if (ContentsOrErr->empty()) in getGroups()
3746 Data = *ContentsOrErr; in getGroups()
3749 ": " + toString(ContentsOrErr.takeError())); in getGroups()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DDumpOutputStyle.cpp1283 Expected<StringRef> ContentsOrErr = S.getContents(); in dumpTypesFromObjectFile() local
1284 if (!ContentsOrErr) in dumpTypesFromObjectFile()
1285 return ContentsOrErr.takeError(); in dumpTypesFromObjectFile()
1288 BinaryStreamReader Reader(*ContentsOrErr, llvm::endianness::little); in dumpTypesFromObjectFile()