Lines Matching refs:ContentsOrErr
3330 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()
3915 Expected<ArrayRef<uint8_t>> ContentsOrErr = in printRelocations() local
3917 if (!ContentsOrErr) in printRelocations()
3918 return ContentsOrErr.takeError(); in printRelocations()
3919 auto NumOrErr = this->Obj.getCrelHeader(*ContentsOrErr); in printRelocations()
5204 Expected<ArrayRef<uint8_t>> ContentsOrErr = Obj.getSectionContents(Sec); in decodeAddrsigSection() local
5205 if (!ContentsOrErr) in decodeAddrsigSection()
5206 return ContentsOrErr.takeError(); in decodeAddrsigSection()
5209 toULEB128Array(*ContentsOrErr)) in decodeAddrsigSection()
6400 Expected<ArrayRef<uint8_t>> ContentsOrErr = Obj.getSectionContents(Shdr); in printDependentLibsHelper() local
6401 if (!ContentsOrErr) { in printDependentLibsHelper()
6402 Warn(I, toString(ContentsOrErr.takeError())); in printDependentLibsHelper()
6406 ArrayRef<uint8_t> Contents = *ContentsOrErr; in printDependentLibsHelper()
8092 Expected<ArrayRef<uint8_t>> ContentsOrErr = in printELFLinkerOptions() local
8094 if (!ContentsOrErr) { in printELFLinkerOptions()
8097 toString(ContentsOrErr.takeError())); in printELFLinkerOptions()
8100 if (ContentsOrErr->empty()) in printELFLinkerOptions()
8103 if (ContentsOrErr->back() != 0) { in printELFLinkerOptions()
8112 toStringRef(ContentsOrErr->drop_back()).split(Strings, '\0'); in printELFLinkerOptions()