Searched refs:shdr (Results 1 - 2 of 2) sorted by relevance

/frameworks/compile/mclinker/lib/LD/
H A DELFReader.cpp329 const llvm::ELF::Elf32_Shdr* shdr = NULL; local
340 // if shnum and shstrtab overflow, the actual values are in the 1st shdr
344 shdr = reinterpret_cast<const llvm::ELF::Elf32_Shdr*>(shdr_region.begin());
347 sh_size = shdr->sh_size;
348 sh_link = shdr->sh_link;
350 sh_size = mcld::bswap32(shdr->sh_size);
351 sh_link = mcld::bswap32(shdr->sh_link);
368 shdr = &shdrTab[shstrtab];
370 sh_offset = shdr->sh_offset;
371 sh_size = shdr
823 const llvm::ELF::Elf64_Shdr* shdr = NULL; local
[all...]
H A DELFObjectWriter.cpp308 ElfXX_Shdr* shdr = reinterpret_cast<ElfXX_Shdr*>(region.begin()); local
315 shdr[sectIdx].sh_name = shstridx;
316 shdr[sectIdx].sh_type = ld_sect->type();
317 shdr[sectIdx].sh_flags = ld_sect->flag();
318 shdr[sectIdx].sh_addr = ld_sect->addr();
319 shdr[sectIdx].sh_offset = ld_sect->offset();
320 shdr[sectIdx].sh_size = ld_sect->size();
321 shdr[sectIdx].sh_addralign = ld_sect->align();
322 shdr[sectIdx].sh_entsize = getSectEntrySize<SIZE>(*ld_sect);
323 shdr[sectId
[all...]

Completed in 28 milliseconds