/external/u-boot/tools/ |
D | prelink-riscv.inc | 19 #define Elf_Phdr CONCAT3(Elf, PRELINK_INC_BITS, _Phdr) 27 static void* get_offset_nn (void* data, Elf_Phdr* phdrs, size_t phnum, Elf_Addr addr) 29 Elf_Phdr *p; 41 Elf_Phdr *p; 48 Elf_Phdr *phdrs = data + ehdr->e_phoff; 101 #undef Elf_Phdr
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/ |
D | ELF.cpp | 488 for (const Elf_Phdr &Phdr : *ProgramHeadersOrError) { in dynamicEntries() 539 llvm::SmallVector<Elf_Phdr *, 4> LoadSegments; in toMappedAddr() 541 for (const Elf_Phdr &Phdr : *ProgramHeadersOrError) in toMappedAddr() 543 LoadSegments.push_back(const_cast<Elf_Phdr *>(&Phdr)); in toMappedAddr() 545 const Elf_Phdr *const *I = in toMappedAddr() 554 const Elf_Phdr &Phdr = **I; in toMappedAddr()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/yaml2obj/ |
D | yaml2elf.cpp | 112 typedef typename ELFT::Phdr Elf_Phdr; typedef in __anona1a9d3580311::ELFState 139 void initProgramHeaders(std::vector<Elf_Phdr> &PHeaders); 147 void setProgramHeaderLayout(std::vector<Elf_Phdr> &PHeaders, 207 Header.e_phentsize = sizeof(Elf_Phdr); in initELFHeader() 212 sizeof(Header) + sizeof(Elf_Phdr) * Doc.ProgramHeaders.size(); in initELFHeader() 218 void ELFState<ELFT>::initProgramHeaders(std::vector<Elf_Phdr> &PHeaders) { in initProgramHeaders() 220 Elf_Phdr Phdr; in initProgramHeaders() 358 void ELFState<ELFT>::setProgramHeaderLayout(std::vector<Elf_Phdr> &PHeaders, in setProgramHeaderLayout() 637 std::vector<Elf_Phdr> PHeaders; in writeELF()
|
/external/libunwind_llvm/src/ |
D | AddressSpace.hpp | 494 #if !defined(Elf_Phdr) in findUnwindSections() 495 typedef ElfW(Phdr) Elf_Phdr; in findUnwindSections() 510 reinterpret_cast<const Elf_Phdr *>(pinfo->dlpi_phdr) in findUnwindSections() 516 const Elf_Phdr *phdr = &pinfo->dlpi_phdr[i]; in findUnwindSections() 554 const Elf_Phdr *phdr = &pinfo->dlpi_phdr[i]; in findUnwindSections()
|
/external/llvm/include/llvm/Object/ |
D | ELF.h | 47 typedef Elf_Phdr_Impl<ELFT> Elf_Phdr; typedef 172 const Elf_Phdr *program_header_begin() const { in program_header_begin() 173 if (Header->e_phnum && Header->e_phentsize != sizeof(Elf_Phdr)) in program_header_begin() 175 return reinterpret_cast<const Elf_Phdr *>(base() + Header->e_phoff); in program_header_begin() 178 const Elf_Phdr *program_header_end() const { in program_header_end()
|
/external/compiler-rt/lib/cfi/ |
D | cfi.cc | 20 typedef ElfW(Phdr) Elf_Phdr; typedef 206 const Elf_Phdr *phdr = &info->dlpi_phdr[phdr_idx]; in find_cfi_check_in_dso() 241 const Elf_Phdr *phdr = &info->dlpi_phdr[i]; in dl_iterate_phdr_cb()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/ |
D | ELF.h | 61 using Elf_Phdr = typename ELFT::Phdr; variable 167 if (getHeader()->e_phnum && getHeader()->e_phentsize != sizeof(Elf_Phdr)) in program_headers() 174 reinterpret_cast<const Elf_Phdr *>(base() + getHeader()->e_phoff); in program_headers() 185 Elf_Note_Iterator notes_begin(const Elf_Phdr &Phdr, Error &Err) const { in notes_begin() 228 iterator_range<Elf_Note_Iterator> notes(const Elf_Phdr &Phdr, in notes()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_linux_libcdep.cc | 415 typedef ElfW(Phdr) Elf_Phdr; typedef 417 # define Elf_Phdr XElf32_Phdr macro 442 const Elf_Phdr *phdr = &info->dlpi_phdr[i]; in dl_iterate_phdr_cb()
|
D | sanitizer_linux.cc | 871 typedef ElfW(Phdr) Elf_Phdr; in ForEachMappedRegion() typedef 884 Elf_Phdr *phdr = (Elf_Phdr *)iter; in ForEachMappedRegion() 893 Elf_Phdr *phdr = (Elf_Phdr *)iter; in ForEachMappedRegion()
|
D | sanitizer_platform_limits_posix.cc | 304 unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr);
|
/external/llvm/tools/llvm-readobj/ |
D | ELFDumper.cpp | 60 typedef typename ELFO::Elf_Phdr Elf_Phdr; \ 141 typedef typename ELFO::Elf_Phdr Elf_Phdr; typedef in __anon79be9f670111::ELFDumper 161 DynRegionInfo createDRIFrom(const Elf_Phdr *P, uintX_t EntSize) { in createDRIFrom() 169 void parseDynamicTable(ArrayRef<const Elf_Phdr *> LoadSegments); 348 bool checkTLSSections(const Elf_Phdr &Phdr, const Elf_Shdr &Sec); 349 bool checkoffsets(const Elf_Phdr &Phdr, const Elf_Shdr &Sec); 350 bool checkVMA(const Elf_Phdr &Phdr, const Elf_Shdr &Sec); 351 bool checkPTDynamic(const Elf_Phdr &Phdr, const Elf_Shdr &Sec); 1310 SmallVector<const Elf_Phdr *, 4> LoadSegments; in ELFDumper() 1311 for (const Elf_Phdr &Phdr : Obj->program_headers()) { in ELFDumper() [all …]
|
/external/llvm/tools/llvm-objdump/ |
D | ELFDump.cpp | 27 for (const typename ELFO::Elf_Phdr &Phdr : o->program_headers()) { in printProgramHeaders()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/ |
D | ELFDumper.cpp | 93 using Elf_Phdr = typename ELFT::Phdr; \ 190 DynRegionInfo createDRIFrom(const Elf_Phdr *P, uintX_t EntSize) { in createDRIFrom() 198 void parseDynamicTable(ArrayRef<const Elf_Phdr *> LoadSegments); 410 bool checkTLSSections(const Elf_Phdr &Phdr, const Elf_Shdr &Sec); 411 bool checkoffsets(const Elf_Phdr &Phdr, const Elf_Shdr &Sec); 412 bool checkVMA(const Elf_Phdr &Phdr, const Elf_Shdr &Sec); 413 bool checkPTDynamic(const Elf_Phdr &Phdr, const Elf_Shdr &Sec); 1380 SmallVector<const Elf_Phdr *, 4> LoadSegments; in ELFDumper() 1381 for (const Elf_Phdr &Phdr : unwrapOrError(Obj->program_headers())) { in ELFDumper() 1447 ArrayRef<const Elf_Phdr *> LoadSegments) { in parseDynamicTable() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objdump/ |
D | ELFDump.cpp | 102 for (const typename ELFO::Elf_Phdr &Phdr : *ProgramHeaderOrError) { in printProgramHeaders()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objcopy/ |
D | Object.cpp | 66 using Elf_Phdr = typename ELFT::Phdr; in writePhdr() typedef 69 B += Obj.ProgramHdrSegment.Offset + Seg.Index * sizeof(Elf_Phdr); in writePhdr() 70 Elf_Phdr &Phdr = *reinterpret_cast<Elf_Phdr *>(B); in writePhdr() 974 Ehdr.e_phentsize = sizeof(Elf_Phdr); in writeEhdr()
|
D | Object.h | 194 using Elf_Phdr = typename ELFT::Phdr; variable
|