Home
last modified time | relevance | path

Searched refs:ContentOrErr (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/llvm/tools/obj2yaml/
Delf2yaml.cpp819 auto ContentOrErr = Obj.getSectionContents(*Shdr); in dumpStackSizesSection() local
820 if (!ContentOrErr) in dumpStackSizesSection()
821 return ContentOrErr.takeError(); in dumpStackSizesSection()
823 ArrayRef<uint8_t> Content = *ContentOrErr; in dumpStackSizesSection()
852 auto ContentOrErr = Obj.getSectionContents(*Shdr); in dumpBBAddrMapSection() local
853 if (!ContentOrErr) in dumpBBAddrMapSection()
854 return ContentOrErr.takeError(); in dumpBBAddrMapSection()
856 ArrayRef<uint8_t> Content = *ContentOrErr; in dumpBBAddrMapSection()
896 auto ContentOrErr = Obj.getSectionContents(*Shdr); in dumpAddrsigSection() local
897 if (!ContentOrErr) in dumpAddrsigSection()
[all …]
/external/llvm/tools/obj2yaml/
Delf2yaml.cpp334 ErrorOr<ArrayRef<uint8_t>> ContentOrErr = Obj.getSectionContents(Shdr); in dumpContentSection() local
335 if (std::error_code EC = ContentOrErr.getError()) in dumpContentSection()
337 S->Content = yaml::BinaryRef(ContentOrErr.get()); in dumpContentSection()
408 ErrorOr<ArrayRef<uint8_t>> ContentOrErr = Obj.getSectionContents(Shdr); in dumpMipsABIFlags() local
409 if (std::error_code EC = ContentOrErr.getError()) in dumpMipsABIFlags()
413 ContentOrErr.get().data()); in dumpMipsABIFlags()
/external/llvm-project/clang/tools/clang-offload-bundler/
DClangOffloadBundler.cpp484 Expected<StringRef> ContentOrErr = CurrentSection->getContents(); in ReadBundle() local
485 if (!ContentOrErr) in ReadBundle()
486 return ContentOrErr.takeError(); in ReadBundle()
487 StringRef Content = *ContentOrErr; in ReadBundle()
/external/llvm-project/llvm/tools/llvm-readobj/
DELFDumper.cpp2900 if (Expected<ArrayRef<uint8_t>> ContentOrErr = in printAttributes() local
2902 Contents = *ContentOrErr; in printAttributes()
2909 ": " + toString(ContentOrErr.takeError())); in printAttributes()
3432 Expected<ArrayRef<uint8_t>> ContentOrErr = in printStackMap() local
3434 if (!ContentOrErr) { in printStackMap()
3435 Warn(ContentOrErr.takeError()); in printStackMap()
3440 *ContentOrErr)) { in printStackMap()
3445 prettyPrintStackMap(W, StackMapParser<ELFT::TargetEndianness>(*ContentOrErr)); in printStackMap()