Lines Matching refs:ContentOrErr
819 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()
898 return ContentOrErr.takeError(); in dumpAddrsigSection()
900 ArrayRef<uint8_t> Content = *ContentOrErr; in dumpAddrsigSection()
937 auto ContentOrErr = Obj.getSectionContents(*Shdr); in dumpLinkerOptionsSection() local
938 if (!ContentOrErr) in dumpLinkerOptionsSection()
939 return ContentOrErr.takeError(); in dumpLinkerOptionsSection()
941 ArrayRef<uint8_t> Content = *ContentOrErr; in dumpLinkerOptionsSection()
968 Expected<ArrayRef<uint8_t>> ContentOrErr = Obj.getSectionContents(*Shdr); in dumpDependentLibrariesSection() local
969 if (!ContentOrErr) in dumpDependentLibrariesSection()
970 return ContentOrErr.takeError(); in dumpDependentLibrariesSection()
972 ArrayRef<uint8_t> Content = *ContentOrErr; in dumpDependentLibrariesSection()
995 Expected<ArrayRef<uint8_t>> ContentOrErr = Obj.getSectionContents(*Shdr); in dumpCallGraphProfileSection() local
996 if (!ContentOrErr) in dumpCallGraphProfileSection()
997 return ContentOrErr.takeError(); in dumpCallGraphProfileSection()
998 ArrayRef<uint8_t> Content = *ContentOrErr; in dumpCallGraphProfileSection()
1119 Expected<ArrayRef<uint8_t>> ContentOrErr = Obj.getSectionContents(*Shdr); in dumpRelrSection() local
1120 if (!ContentOrErr) in dumpRelrSection()
1121 return ContentOrErr.takeError(); in dumpRelrSection()
1122 S->Content = *ContentOrErr; in dumpRelrSection()
1135 auto ContentOrErr = Obj.getSectionContents(*Shdr); in dumpContentSection() local
1136 if (!ContentOrErr) in dumpContentSection()
1137 return ContentOrErr.takeError(); in dumpContentSection()
1138 ArrayRef<uint8_t> Content = *ContentOrErr; in dumpContentSection()
1185 auto ContentOrErr = Obj.getSectionContents(*Shdr); in dumpNoteSection() local
1186 if (!ContentOrErr) in dumpNoteSection()
1187 return ContentOrErr.takeError(); in dumpNoteSection()
1190 ArrayRef<uint8_t> Content = *ContentOrErr; in dumpNoteSection()
1193 S->Content = yaml::BinaryRef(*ContentOrErr); in dumpNoteSection()
1199 S->Content = yaml::BinaryRef(*ContentOrErr); in dumpNoteSection()
1221 auto ContentOrErr = Obj.getSectionContents(*Shdr); in dumpHashSection() local
1222 if (!ContentOrErr) in dumpHashSection()
1223 return ContentOrErr.takeError(); in dumpHashSection()
1225 ArrayRef<uint8_t> Content = *ContentOrErr; in dumpHashSection()
1262 auto ContentOrErr = Obj.getSectionContents(*Shdr); in dumpGnuHashSection() local
1263 if (!ContentOrErr) in dumpGnuHashSection()
1264 return ContentOrErr.takeError(); in dumpGnuHashSection()
1267 ArrayRef<uint8_t> Content = *ContentOrErr; in dumpGnuHashSection()
1497 Expected<ArrayRef<uint8_t>> ContentOrErr = Obj.getSectionContents(*Shdr); in dumpARMIndexTableSection() local
1498 if (!ContentOrErr) in dumpARMIndexTableSection()
1499 return ContentOrErr.takeError(); in dumpARMIndexTableSection()
1501 if (ContentOrErr->size() % (sizeof(Elf_Word) * 2) != 0) { in dumpARMIndexTableSection()
1502 S->Content = yaml::BinaryRef(*ContentOrErr); in dumpARMIndexTableSection()
1507 reinterpret_cast<const Elf_Word *>(ContentOrErr->data()), in dumpARMIndexTableSection()
1508 ContentOrErr->size() / sizeof(Elf_Word)); in dumpARMIndexTableSection()
1526 auto ContentOrErr = Obj.getSectionContents(*Shdr); in dumpMipsABIFlags() local
1527 if (!ContentOrErr) in dumpMipsABIFlags()
1528 return ContentOrErr.takeError(); in dumpMipsABIFlags()
1531 ContentOrErr.get().data()); in dumpMipsABIFlags()