Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DELF.cpp354 Expected<ArrayRef<uint8_t>> ContentsOrErr = getSectionContents(Sec); in android_relas() local
355 if (!ContentsOrErr) in android_relas()
356 return ContentsOrErr.takeError(); in android_relas()
357 const uint8_t *Cur = ContentsOrErr->begin(); in android_relas()
358 const uint8_t *End = ContentsOrErr->end(); in android_relas()
359 if (ContentsOrErr->size() < 4 || Cur[0] != 'A' || Cur[1] != 'P' || in android_relas()
/external/llvm-project/llvm/lib/Object/
DELF.cpp373 Expected<ArrayRef<uint8_t>> ContentsOrErr = getSectionContents(Sec); in android_relas() local
374 if (!ContentsOrErr) in android_relas()
375 return ContentsOrErr.takeError(); in android_relas()
376 const uint8_t *Cur = ContentsOrErr->begin(); in android_relas()
377 const uint8_t *End = ContentsOrErr->end(); in android_relas()
378 if (ContentsOrErr->size() < 4 || Cur[0] != 'A' || Cur[1] != 'P' || in android_relas()
/external/llvm-project/llvm/tools/llvm-pdbutil/
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()
DDumpOutputStyle.cpp1385 Expected<StringRef> ContentsOrErr = S.getContents(); in dumpTypesFromObjectFile() local
1386 if (!ContentsOrErr) in dumpTypesFromObjectFile()
1387 return ContentsOrErr.takeError(); in dumpTypesFromObjectFile()
1390 BinaryStreamReader Reader(*ContentsOrErr, llvm::support::little); in dumpTypesFromObjectFile()
/external/llvm-project/llvm/tools/dsymutil/
DDwarfLinkerForBinary.cpp492 Expected<StringRef> ContentsOrErr = Section.getContents(); in findValidRelocsMachO() local
493 if (!ContentsOrErr) { in findValidRelocsMachO()
494 consumeError(ContentsOrErr.takeError()); in findValidRelocsMachO()
498 DataExtractor Data(*ContentsOrErr, Obj.isLittleEndian(), 0); in findValidRelocsMachO()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/Symbolize/
DSymbolize.cpp256 Expected<StringRef> ContentsOrErr = Section.getContents(); in getGNUDebuglinkContents() local
257 if (!ContentsOrErr) { in getGNUDebuglinkContents()
258 consumeError(ContentsOrErr.takeError()); in getGNUDebuglinkContents()
261 DataExtractor DE(*ContentsOrErr, Obj->isLittleEndian(), 0); in getGNUDebuglinkContents()
/external/llvm-project/llvm/lib/DebugInfo/Symbolize/
DSymbolize.cpp258 Expected<StringRef> ContentsOrErr = Section.getContents(); in getGNUDebuglinkContents() local
259 if (!ContentsOrErr) { in getGNUDebuglinkContents()
260 consumeError(ContentsOrErr.takeError()); in getGNUDebuglinkContents()
263 DataExtractor DE(*ContentsOrErr, Obj->isLittleEndian(), 0); in getGNUDebuglinkContents()
/external/llvm-project/llvm/tools/llvm-readobj/
DELFDumper.cpp544 Expected<ArrayRef<uint8_t>> ContentsOrErr = Obj.getSectionContents(Sec); in getVersionDefinitions() local
545 if (!ContentsOrErr) in getVersionDefinitions()
547 toString(ContentsOrErr.takeError())); in getVersionDefinitions()
549 const uint8_t *Start = ContentsOrErr->data(); in getVersionDefinitions()
550 const uint8_t *End = Start + ContentsOrErr->size(); in getVersionDefinitions()
632 Expected<ArrayRef<uint8_t>> ContentsOrErr = Obj.getSectionContents(Sec); in getVersionDependencies() local
633 if (!ContentsOrErr) in getVersionDependencies()
635 toString(ContentsOrErr.takeError())); in getVersionDependencies()
637 const uint8_t *Start = ContentsOrErr->data(); in getVersionDependencies()
638 const uint8_t *End = Start + ContentsOrErr->size(); in getVersionDependencies()
[all …]
/external/llvm-project/llvm/tools/llvm-dwp/
Dllvm-dwp.cpp448 Expected<StringRef> ContentsOrErr = Section.getContents(); in handleSection() local
449 if (!ContentsOrErr) in handleSection()
450 return ContentsOrErr.takeError(); in handleSection()
451 StringRef Contents = *ContentsOrErr; in handleSection()