Searched refs:ContentOrErr (Results 1 – 4 of 4) sorted by relevance
819 auto ContentOrErr = Obj.getSectionContents(*Shdr); in dumpStackSizesSection() local820 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() local853 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() local897 if (!ContentOrErr) in dumpAddrsigSection()[all …]
334 ErrorOr<ArrayRef<uint8_t>> ContentOrErr = Obj.getSectionContents(Shdr); in dumpContentSection() local335 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() local409 if (std::error_code EC = ContentOrErr.getError()) in dumpMipsABIFlags()413 ContentOrErr.get().data()); in dumpMipsABIFlags()
484 Expected<StringRef> ContentOrErr = CurrentSection->getContents(); in ReadBundle() local485 if (!ContentOrErr) in ReadBundle()486 return ContentOrErr.takeError(); in ReadBundle()487 StringRef Content = *ContentOrErr; in ReadBundle()
2900 if (Expected<ArrayRef<uint8_t>> ContentOrErr = in printAttributes() local2902 Contents = *ContentOrErr; in printAttributes()2909 ": " + toString(ContentOrErr.takeError())); in printAttributes()3432 Expected<ArrayRef<uint8_t>> ContentOrErr = in printStackMap() local3434 if (!ContentOrErr) { in printStackMap()3435 Warn(ContentOrErr.takeError()); in printStackMap()3440 *ContentOrErr)) { in printStackMap()3445 prettyPrintStackMap(W, StackMapParser<ELFT::TargetEndianness>(*ContentOrErr)); in printStackMap()