/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | ELF.cpp | 508 for (const Elf_Phdr &Phdr : *ProgramHeadersOrError) { in dynamicEntries() 562 llvm::SmallVector<Elf_Phdr *, 4> LoadSegments; in toMappedAddr() 564 for (const Elf_Phdr &Phdr : *ProgramHeadersOrError) in toMappedAddr() 566 LoadSegments.push_back(const_cast<Elf_Phdr *>(&Phdr)); in toMappedAddr() 568 const Elf_Phdr *const *I = in toMappedAddr() 578 const Elf_Phdr &Phdr = **I; in toMappedAddr()
|
/external/llvm-project/llvm/lib/Object/ |
D | ELF.cpp | 526 for (const Elf_Phdr &Phdr : *ProgramHeadersOrError) { in dynamicEntries() 574 llvm::SmallVector<Elf_Phdr *, 4> LoadSegments; in toMappedAddr() 576 for (const Elf_Phdr &Phdr : *ProgramHeadersOrError) in toMappedAddr() 578 LoadSegments.push_back(const_cast<Elf_Phdr *>(&Phdr)); in toMappedAddr() 580 const Elf_Phdr *const *I = in toMappedAddr() 590 const Elf_Phdr &Phdr = **I; in toMappedAddr()
|
/external/llvm-project/libunwind/src/ |
D | AddressSpace.hpp | 362 #if !defined(Elf_Phdr) 363 typedef ElfW(Phdr) Elf_Phdr; typedef 379 const Elf_Phdr *phdr = &pinfo->dlpi_phdr[i]; in calculateImageBase() 405 static bool checkAddrInSegment(const Elf_Phdr *phdr, size_t image_base, in checkAddrInSegment() 419 static bool checkForUnwindInfoSegment(const Elf_Phdr *phdr, size_t image_base, in checkForUnwindInfoSegment() 483 const Elf_Phdr *phdr = &pinfo->dlpi_phdr[i - 1]; in findUnwindSectionsByPhdr()
|
/external/llvm-project/llvm/tools/llvm-readobj/ |
D | DwarfCFIEHPrinter.h | 33 using Elf_Phdr = typename ELFT::Phdr; variable 38 void printEHFrameHdr(const Elf_Phdr *EHFramePHdr) const; 70 for (const Elf_Phdr &Phdr : *PhdrsOrErr) { in printUnwindInformation() 96 void PrinterContext<ELFT>::printEHFrameHdr(const Elf_Phdr *EHFramePHdr) const { in printEHFrameHdr()
|
D | ELFDumper.cpp | 96 using Elf_Phdr = typename ELFT::Phdr; \ 323 std::pair<const Elf_Phdr *, const Elf_Shdr *> findDynamic(); 1876 const Elf_Phdr *DynamicPhdr = nullptr; in findDynamic() 1877 if (Expected<ArrayRef<Elf_Phdr>> PhdrsOrErr = Obj.program_headers()) { in findDynamic() 1878 for (const Elf_Phdr &Phdr : *PhdrsOrErr) { in findDynamic() 1931 const Elf_Phdr *DynamicPhdr; in loadDynamicTable() 4455 Expected<ArrayRef<Elf_Phdr>> PhdrsOrErr = this->Obj.program_headers(); in printProgramHeaders() 4462 for (const Elf_Phdr &Phdr : *PhdrsOrErr) { in printProgramHeaders() 4508 Expected<ArrayRef<Elf_Phdr>> PhdrsOrErr = this->Obj.program_headers(); in printSectionMapping() 4516 for (const Elf_Phdr &Phdr : *PhdrsOrErr) { in printSectionMapping() [all …]
|
/external/llvm/include/llvm/Object/ |
D | ELF.h | 47 typedef Elf_Phdr_Impl<ELFT> Elf_Phdr; typedef 168 const Elf_Phdr *program_header_begin() const { in program_header_begin() 169 if (Header->e_phnum && Header->e_phentsize != sizeof(Elf_Phdr)) in program_header_begin() 171 return reinterpret_cast<const Elf_Phdr *>(base() + Header->e_phoff); in program_header_begin() 174 const Elf_Phdr *program_header_end() const { in program_header_end()
|
/external/llvm-project/llvm/include/llvm/Object/ |
D | ELF.h | 98 using Elf_Phdr = typename ELFT::Phdr; variable 212 if (getHeader().e_phnum && getHeader().e_phentsize != sizeof(Elf_Phdr)) in program_headers() 226 auto *Begin = reinterpret_cast<const Elf_Phdr *>(base() + PhOff); in program_headers() 237 Elf_Note_Iterator notes_begin(const Elf_Phdr &Phdr, Error &Err) const { in notes_begin() 280 iterator_range<Elf_Note_Iterator> notes(const Elf_Phdr &Phdr, in notes() 321 Expected<ArrayRef<uint8_t>> getSegmentContents(const Elf_Phdr &Phdr) const; 445 ELFFile<ELFT>::getSegmentContents(const Elf_Phdr &Phdr) const { in getSegmentContents()
|
/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/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_linux_libcdep.cpp | 435 const Elf_Phdr *hdr = info->dlpi_phdr; in GetSizeFromHdr() 436 const Elf_Phdr *last_hdr = hdr + info->dlpi_phnum; in GetSizeFromHdr() 560 typedef ElfW(Phdr) Elf_Phdr; typedef 562 #define Elf_Phdr XElf32_Phdr macro 587 const Elf_Phdr *phdr = &info->dlpi_phdr[i]; in dl_iterate_phdr_cb()
|
D | sanitizer_linux.cpp | 1160 typedef ElfW(Phdr) Elf_Phdr; in ForEachMappedRegion() typedef 1173 Elf_Phdr *phdr = (Elf_Phdr *)iter; in ForEachMappedRegion() 1182 Elf_Phdr *phdr = (Elf_Phdr *)iter; in ForEachMappedRegion()
|
D | sanitizer_platform_limits_freebsd.cpp | 167 unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr);
|
/external/llvm-project/compiler-rt/lib/cfi/ |
D | cfi.cpp | 26 typedef ElfW(Phdr) Elf_Phdr; typedef 241 const Elf_Phdr *phdr = &info->dlpi_phdr[phdr_idx]; in find_cfi_check_in_dso() 282 const Elf_Phdr *phdr = &info->dlpi_phdr[i]; in dl_iterate_phdr_cb()
|
/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()
|
/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-10.0/llvm/include/llvm/Object/ |
D | ELF.h | 80 using Elf_Phdr = typename ELFT::Phdr; variable 194 if (getHeader()->e_phnum && getHeader()->e_phentsize != sizeof(Elf_Phdr)) in program_headers() 206 reinterpret_cast<const Elf_Phdr *>(base() + getHeader()->e_phoff); in program_headers() 217 Elf_Note_Iterator notes_begin(const Elf_Phdr &Phdr, Error &Err) const { in notes_begin() 261 iterator_range<Elf_Note_Iterator> notes(const Elf_Phdr &Phdr, in notes()
|
/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 __anon148931850111::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/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/ |
D | ELFEmitter.cpp | 106 typedef typename ELFT::Phdr Elf_Phdr; typedef in __anon637653e50111::ELFState 142 void initProgramHeaders(std::vector<Elf_Phdr> &PHeaders); 154 void setProgramHeaderLayout(std::vector<Elf_Phdr> &PHeaders, 293 Header.e_phentsize = Doc.ProgramHeaders.size() ? sizeof(Elf_Phdr) : 0; in writeELFHeader() 313 void ELFState<ELFT>::initProgramHeaders(std::vector<Elf_Phdr> &PHeaders) { in initProgramHeaders() 315 Elf_Phdr Phdr; in initProgramHeaders() 718 void ELFState<ELFT>::setProgramHeaderLayout(std::vector<Elf_Phdr> &PHeaders, in setProgramHeaderLayout() 722 Elf_Phdr &PHeader = PHeaders[PhdrIdx++]; in setProgramHeaderLayout() 1419 std::vector<Elf_Phdr> PHeaders; in writeELF() 1425 sizeof(Elf_Ehdr) + sizeof(Elf_Phdr) * Doc.ProgramHeaders.size(); in writeELF()
|
/external/llvm-project/llvm/test/tools/llvm-objcopy/ELF/ |
D | invalid-e_phoff.test | 2 ## such that e_phoff + e_phnum * sizeof(Elf_Phdr) is past the end of the file,
|
/external/llvm-project/llvm/lib/ObjectYAML/ |
D | ELFEmitter.cpp | 172 typedef typename ELFT::Phdr Elf_Phdr; typedef in __anonbe606ff10111::ELFState 212 void initProgramHeaders(std::vector<Elf_Phdr> &PHeaders); 227 void setProgramHeaderLayout(std::vector<Elf_Phdr> &PHeaders, 423 Header.e_phentsize = sizeof(Elf_Phdr); in writeELFHeader() 468 void ELFState<ELFT>::initProgramHeaders(std::vector<Elf_Phdr> &PHeaders) { in initProgramHeaders() 480 Elf_Phdr Phdr; in initProgramHeaders() 1081 void ELFState<ELFT>::setProgramHeaderLayout(std::vector<Elf_Phdr> &PHeaders, in setProgramHeaderLayout() 1085 Elf_Phdr &PHeader = PHeaders[PhdrIdx++]; in setProgramHeaderLayout() 1908 std::vector<Elf_Phdr> PHeaders; in writeELF() 1914 sizeof(Elf_Ehdr) + sizeof(Elf_Phdr) * Doc.ProgramHeaders.size(); in writeELF()
|
/external/rust/crates/libc/src/unix/bsd/netbsdlike/openbsd/ |
D | mod.rs | 41 type Elf_Phdr = Elf64_Phdr; 45 type Elf_Phdr = Elf32_Phdr; 383 pub dlpi_phdr: *const Elf_Phdr,
|
/external/llvm-project/llvm/tools/llvm-objcopy/ELF/ |
D | Object.cpp | 41 Seg.Index * sizeof(Elf_Phdr); in writePhdr() 42 Elf_Phdr &Phdr = *reinterpret_cast<Elf_Phdr *>(B); in writePhdr() 1415 for (const typename ELFFile<ELFT>::Elf_Phdr &Phdr : *Headers) { in readProgramHeaders() 1995 Ehdr.e_phentsize = (Ehdr.e_phnum != 0) ? sizeof(Elf_Phdr) : 0; in writeEhdr() 2375 sizeof(Elf_Ehdr) + llvm::size(Obj.segments()) * sizeof(Elf_Phdr); in assignOffsets()
|
/external/rust/crates/libc/src/unix/bsd/freebsdlike/ |
D | mod.rs | 41 type Elf_Phdr = Elf64_Phdr; 45 type Elf_Phdr = Elf32_Phdr; 340 pub dlpi_phdr: *const Elf_Phdr,
|
/external/rust/crates/libc/src/unix/bsd/netbsdlike/netbsd/ |
D | mod.rs | 38 type Elf_Phdr = Elf64_Phdr; 42 type Elf_Phdr = Elf32_Phdr; 411 pub dlpi_phdr: *const Elf_Phdr,
|
/external/llvm-project/llvm/lib/InterfaceStub/ |
D | ELFObjHandler.cpp | 174 using Elf_Phdr = typename ELFT::Phdr; typedef in llvm::elfabi::__anon897738b50111::ELFStubBuilder
|