Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/
H A DELF.cpp380 Expected<ArrayRef<uint8_t>> ContentsOrErr = getSectionContents(Sec); in android_relas() local
381 if (!ContentsOrErr) in android_relas()
382 return ContentsOrErr.takeError(); in android_relas()
383 ArrayRef<uint8_t> Content = *ContentsOrErr; in android_relas()
618 Expected<ArrayRef<uint8_t>> ContentsOrErr = getSectionContents(Sec); in decodeBBAddrMap() local
619 if (!ContentsOrErr) in decodeBBAddrMap()
620 return ContentsOrErr.takeError(); in decodeBBAddrMap()
621 ArrayRef<uint8_t> Content = *ContentsOrErr; in decodeBBAddrMap()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Object/
H A DELF.h877 Expected<ArrayRef<uint8_t>> ContentsOrErr = getSectionContents(Sec); in getVersionDefinitions() local
878 if (!ContentsOrErr) in getVersionDefinitions()
880 toString(ContentsOrErr.takeError())); in getVersionDefinitions()
882 const uint8_t *Start = ContentsOrErr->data(); in getVersionDefinitions()
883 const uint8_t *End = Start + ContentsOrErr->size(); in getVersionDefinitions()
970 Expected<ArrayRef<uint8_t>> ContentsOrErr = getSectionContents(Sec); in getVersionDependencies() local
971 if (!ContentsOrErr) in getVersionDependencies()
973 toString(ContentsOrErr.takeError())); in getVersionDependencies()
975 const uint8_t *Start = ContentsOrErr->data(); in getVersionDependencies()
976 const uint8_t *End = Start + ContentsOrErr->size(); in getVersionDependencies()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/
H A DInputFile.cpp77 Expected<StringRef> ContentsOrErr = Section.getContents(); in isCodeViewDebugSubsection() local
78 if (!ContentsOrErr) { in isCodeViewDebugSubsection()
79 consumeError(ContentsOrErr.takeError()); in isCodeViewDebugSubsection()
83 Reader = BinaryStreamReader(*ContentsOrErr, support::little); in isCodeViewDebugSubsection()
H A DDumpOutputStyle.cpp1381 Expected<StringRef> ContentsOrErr = S.getContents(); in dumpTypesFromObjectFile() local
1382 if (!ContentsOrErr) in dumpTypesFromObjectFile()
1383 return ContentsOrErr.takeError(); in dumpTypesFromObjectFile()
1386 BinaryStreamReader Reader(*ContentsOrErr, llvm::support::little); in dumpTypesFromObjectFile()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/Symbolize/
H A DSymbolize.cpp290 Expected<StringRef> ContentsOrErr = Section.getContents(); in getGNUDebuglinkContents() local
291 if (!ContentsOrErr) { in getGNUDebuglinkContents()
292 consumeError(ContentsOrErr.takeError()); in getGNUDebuglinkContents()
295 DataExtractor DE(*ContentsOrErr, Obj->isLittleEndian(), 0); in getGNUDebuglinkContents()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/dsymutil/
H A DDwarfLinkerForBinary.cpp497 Expected<StringRef> ContentsOrErr = Section.getContents(); in findValidRelocsMachO() local
498 if (!ContentsOrErr) { in findValidRelocsMachO()
499 consumeError(ContentsOrErr.takeError()); in findValidRelocsMachO()
503 DataExtractor Data(*ContentsOrErr, Obj.isLittleEndian(), 0); in findValidRelocsMachO()
H A DMachOUtils.cpp446 if (Expected<StringRef> ContentsOrErr = Section.getContents()) { in generateDsymCompanion() local
447 EHFrameData = *ContentsOrErr; in generateDsymCompanion()
450 consumeError(ContentsOrErr.takeError()); in generateDsymCompanion()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-dwp/
H A Dllvm-dwp.cpp561 Expected<StringRef> ContentsOrErr = Section.getContents(); in handleSection() local
562 if (!ContentsOrErr) in handleSection()
563 return ContentsOrErr.takeError(); in handleSection()
564 StringRef Contents = *ContentsOrErr; in handleSection()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/
H A DELFDumper.cpp3012 Expected<ArrayRef<uint8_t>> ContentsOrErr = in printMipsReginfo() local
3014 if (!ContentsOrErr) { in printMipsReginfo()
3017 describe(*RegInfoSec) + "): " + toString(ContentsOrErr.takeError())); in printMipsReginfo()
3021 if (ContentsOrErr->size() < sizeof(Elf_Mips_RegInfo<ELFT>)) { in printMipsReginfo()
3023 Twine::utohexstr(ContentsOrErr->size()) + ")"); in printMipsReginfo()
3029 ContentsOrErr->data())); in printMipsReginfo()
3326 if (Expected<ArrayRef<Elf_Word>> ContentsOrErr = in getGroups() local
3328 if (ContentsOrErr->empty()) in getGroups()
3332 Data = *ContentsOrErr; in getGroups()
3335 ": " + toString(ContentsOrErr.takeError())); in getGroups()
[all …]