Searched refs:elf_file (Results 1 – 11 of 11) sorted by relevance
/art/dex2oat/linker/ |
D | elf_writer.cc | 25 uintptr_t ElfWriter::GetOatDataAddress(ElfFile* elf_file) { in GetOatDataAddress() argument 26 uintptr_t oatdata_address = elf_file->FindSymbolAddress(SHT_DYNSYM, in GetOatDataAddress() 37 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, in GetOatElfInformation() local 42 CHECK(elf_file.get() != nullptr) << error_msg; in GetOatElfInformation() 44 bool success = elf_file->GetLoadedSize(oat_loaded_size, &error_msg); in GetOatElfInformation() 47 *oat_data_offset = GetOatDataAddress(elf_file.get()); in GetOatElfInformation() 53 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, true, false, /*low_4gb*/false, &error_msg)); in Fixup() local 54 CHECK(elf_file.get() != nullptr) << error_msg; in Fixup() 57 uintptr_t oatdata_address = ElfWriter::GetOatDataAddress(elf_file.get()); in Fixup() 60 return elf_file->Fixup(base_address); in Fixup()
|
D | elf_writer_quick.cc | 91 File* elf_file); 140 File* elf_file) { in CreateElfWriterQuick() argument 142 return std::make_unique<ElfWriterQuick<ElfTypes64>>(compiler_options, elf_file); in CreateElfWriterQuick() 144 return std::make_unique<ElfWriterQuick<ElfTypes32>>(compiler_options, elf_file); in CreateElfWriterQuick() 149 ElfWriterQuick<ElfTypes>::ElfWriterQuick(const CompilerOptions& compiler_options, File* elf_file) in ElfWriterQuick() argument 152 elf_file_(elf_file), in ElfWriterQuick() 159 std::make_unique<BufferedOutputStream>(std::make_unique<FileOutputStream>(elf_file))), in ElfWriterQuick()
|
D | elf_writer_quick.h | 34 File* elf_file);
|
D | elf_writer.h | 51 static uintptr_t GetOatDataAddress(ElfFile* elf_file);
|
/art/compiler/jit/ |
D | jit_compiler.cc | 146 std::vector<uint8_t> elf_file = debug::WriteDebugElfFileForClasses( in jit_types_loaded() local 152 elf_file, in jit_types_loaded()
|
/art/runtime/ |
D | elf_file.cc | 65 std::unique_ptr<ElfFileImpl<ElfTypes>> elf_file( in Open() local 76 if (!elf_file->Setup(file, prot, flags, low_4gb, error_msg)) { in Open() 79 return elf_file.release(); in Open() 88 std::unique_ptr<ElfFileImpl<ElfTypes>> elf_file( in Open() local 90 if (!elf_file->Setup(file, prot, flags, low_4gb, error_msg)) { in Open() 93 return elf_file.release(); in Open() 1889 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, true, false, /*low_4gb=*/false, error_msg)); in Strip() local 1890 if (elf_file.get() == nullptr) { in Strip() 1894 if (elf_file->elf64_.get() != nullptr) { in Strip() 1895 return elf_file->elf64_->Strip(file, error_msg); in Strip() [all …]
|
D | oat_file.cc | 1237 ElfFile* elf_file, 1322 ElfFile* elf_file, in InitializeFromElfFile() argument 1331 elf_file_.reset(elf_file); in InitializeFromElfFile() 1334 bool has_section = elf_file->GetSectionOffsetAndSize(".rodata", &offset, &size); in InitializeFromElfFile() 1336 SetBegin(elf_file->Begin() + offset); in InitializeFromElfFile() 1337 SetEnd(elf_file->Begin() + size + offset); in InitializeFromElfFile() 1571 ElfFile* elf_file, in OpenWithElfFile() argument 1577 return oat_file->InitializeFromElfFile(zip_fd, elf_file, vdex_file, abs_dex_location, error_msg) in OpenWithElfFile()
|
D | oat_file.h | 80 ElfFile* elf_file,
|
D | Android.bp | 53 "elf_file.cc",
|
/art/oatdump/ |
D | oatdump.cc | 149 std::unique_ptr<File> elf_file(OS::CreateEmptyFile(output_name_.c_str())); in Symbolize() local 150 if (elf_file == nullptr) { in Symbolize() 155 std::make_unique<FileOutputStream>(elf_file.get())); in Symbolize() 179 builder_->PrepareDynamicSection(elf_file->GetPath(), in Symbolize() 228 if (elf_file->FlushCloseOrErase() != 0) { in Symbolize() 231 elf_file.reset(); in Symbolize()
|
/art/compiler/optimizing/ |
D | optimizing_compiler.cc | 1477 std::vector<uint8_t> elf_file = debug::MakeElfFileForJIT( in GenerateJitDebugInfo() local 1484 elf_file, in GenerateJitDebugInfo()
|