Home
last modified time | relevance | path

Searched refs:section_headers (Results 1 – 2 of 2) sorted by relevance

/art/compiler/
Delf_builder.h653 std::vector<Elf_Shdr> section_headers; in Write() local
654 section_headers.reserve(1u + sections.size()); in Write()
655 section_headers.push_back(Elf_Shdr()); // NULL at index 0. in Write()
678 section_headers.push_back(*header); in Write()
724 elf_header.e_shnum = section_headers.size(); in Write()
751 !WriteArray(elf_file, section_headers.data(), section_headers.size())) { in Write()
/art/runtime/
Delf_file.cc1531 std::vector<Elf_Shdr> section_headers; in Strip() local
1533 section_headers.reserve(GetSectionHeaderNum()); in Strip()
1544 section_headers.push_back(*sh); in Strip()
1553 section_headers.push_back(*sh); in Strip()
1556 CHECK_NE(0U, section_headers.size()); in Strip()
1557 CHECK_EQ(section_headers.size(), section_headers_original_indexes.size()); in Strip()
1562 for (size_t i = 1; i < section_headers.size(); i++) { in Strip()
1563 Elf_Shdr& new_sh = section_headers[i]; in Strip()
1584 size_t section_headers_size_in_bytes = section_headers.size() * sizeof(Elf_Shdr); in Strip()
1585 memcpy(Begin() + offset, &section_headers[0], section_headers_size_in_bytes); in Strip()
[all …]