• Home
  • Raw
  • Download

Lines Matching refs:ContentsOrErr

544   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()
3327 Expected<ArrayRef<uint8_t>> ContentsOrErr = in printMipsReginfo() local
3329 if (!ContentsOrErr) { in printMipsReginfo()
3332 describe(*RegInfoSec) + "): " + toString(ContentsOrErr.takeError())); in printMipsReginfo()
3336 if (ContentsOrErr->size() < sizeof(Elf_Mips_RegInfo<ELFT>)) { in printMipsReginfo()
3338 Twine::utohexstr(ContentsOrErr->size()) + ")"); in printMipsReginfo()
3344 ContentsOrErr->data())); in printMipsReginfo()
3614 if (Expected<ArrayRef<Elf_Word>> ContentsOrErr = in getGroups() local
3616 if (ContentsOrErr->empty()) in getGroups()
3620 Data = *ContentsOrErr; in getGroups()
3624 toString(ContentsOrErr.takeError())); in getGroups()
4997 Expected<ArrayRef<uint8_t>> ContentsOrErr = Obj.getSectionContents(Sec); in decodeAddrsigSection() local
4998 if (!ContentsOrErr) in decodeAddrsigSection()
4999 return ContentsOrErr.takeError(); in decodeAddrsigSection()
5002 toULEB128Array(*ContentsOrErr)) in decodeAddrsigSection()
5676 Expected<ArrayRef<uint8_t>> ContentsOrErr = Obj.getSectionContents(Shdr); in printDependentLibsHelper() local
5677 if (!ContentsOrErr) { in printDependentLibsHelper()
5678 Warn(I, toString(ContentsOrErr.takeError())); in printDependentLibsHelper()
5682 ArrayRef<uint8_t> Contents = *ContentsOrErr; in printDependentLibsHelper()
6915 Expected<ArrayRef<uint8_t>> ContentsOrErr = in printELFLinkerOptions() local
6917 if (!ContentsOrErr) { in printELFLinkerOptions()
6920 toString(ContentsOrErr.takeError())); in printELFLinkerOptions()
6923 if (ContentsOrErr->empty()) in printELFLinkerOptions()
6926 if (ContentsOrErr->back() != 0) { in printELFLinkerOptions()
6935 toStringRef(ContentsOrErr->drop_back()).split(Strings, '\0'); in printELFLinkerOptions()