Searched refs:Nhdr (Results 1 – 6 of 6) sorted by relevance
131 const ElfW(Nhdr) * Note) { in WriteBinaryIdForNote()133 const char *NoteName = (const char *)Note + sizeof(ElfW(Nhdr)); in WriteBinaryIdForNote()156 static int WriteBinaryIds(ProfDataWriter *Writer, const ElfW(Nhdr) * Note, in WriteBinaryIds()157 const ElfW(Nhdr) * NotesEnd) { in WriteBinaryIds()166 size_t NoteOffset = sizeof(ElfW(Nhdr)) + RoundUp(Note->n_namesz, 4) + in WriteBinaryIds()168 Note = (const ElfW(Nhdr) *)((const char *)(Note) + NoteOffset); in WriteBinaryIds()194 const ElfW(Nhdr) * Note; in __llvm_write_binary_ids()195 const ElfW(Nhdr) * NotesEnd; in __llvm_write_binary_ids()202 Note = (const ElfW(Nhdr) *)((uintptr_t)ElfHeader + in __llvm_write_binary_ids()204 NotesEnd = (const ElfW(Nhdr) *)((const char *)(Note) + in __llvm_write_binary_ids()[all …]
76 using Nhdr = Elf_Nhdr_Impl<ELFType<E, Is64>>; member132 using Elf_Nhdr = typename ELFT::Nhdr; \646 const Elf_Nhdr_Impl<ELFT> &Nhdr;651 Elf_Note_Impl(const Elf_Nhdr_Impl<ELFT> &Nhdr) : Nhdr(Nhdr) {}655 if (!Nhdr.n_namesz)657 return StringRef(reinterpret_cast<const char *>(&Nhdr) + sizeof(Nhdr),658 Nhdr.n_namesz - 1);663 if (!Nhdr.n_descsz)666 reinterpret_cast<const uint8_t *>(&Nhdr) +667 alignToPowerOf2(sizeof(Nhdr) + Nhdr.n_namesz, Align),[all …]
65 auto *nhdr = reinterpret_cast<const ElfW(Nhdr) *>(note); in HwasanGlobalsFor()66 const char *name = note + sizeof(ElfW(Nhdr)); in HwasanGlobalsFor()
71 [ELF_T_NOTE] = MALIGN(Nhdr),
679 while (off + sizeof(ElfW(Nhdr)) < phdr->p_memsz) { in AddModuleSegments()680 auto *nhdr = reinterpret_cast<const ElfW(Nhdr) *>(info->dlpi_addr + in AddModuleSegments()685 if (off + sizeof(ElfW(Nhdr)) + nhdr->n_namesz + nhdr->n_descsz > in AddModuleSegments()
958 using Elf_Nhdr = typename ELFT::Nhdr; in readGnuProperty()