Searched refs:elf_file (Results 1 – 9 of 9) 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 | 132 std::vector<uint8_t> elf_file = in TypesLoaded() local 137 AddNativeDebugInfoForJit(/*code_ptr=*/ nullptr, elf_file, /*allow_packing=*/ false); in TypesLoaded()
|
/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() 1881 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, true, false, /*low_4gb=*/false, error_msg)); in Strip() local 1882 if (elf_file.get() == nullptr) { in Strip() 1886 if (elf_file->elf64_.get() != nullptr) { in Strip() 1887 return elf_file->elf64_->Strip(file, error_msg); in Strip() [all …]
|
D | oat_file.cc | 1369 ElfFile* elf_file, 1420 ElfFile* elf_file, in InitializeFromElfFile() argument 1429 elf_file_.reset(elf_file); in InitializeFromElfFile() 1432 bool has_section = elf_file->GetSectionOffsetAndSize(".rodata", &offset, &size); in InitializeFromElfFile() 1434 SetBegin(elf_file->Begin() + offset); in InitializeFromElfFile() 1435 SetEnd(elf_file->Begin() + size + offset); in InitializeFromElfFile()
|
D | Android.bp | 87 "elf_file.cc",
|
/art/oatdump/ |
D | oatdump.cc | 145 std::unique_ptr<File> elf_file(OS::CreateEmptyFile(output_name_.c_str())); in Symbolize() local 146 if (elf_file == nullptr) { in Symbolize() 151 std::make_unique<FileOutputStream>(elf_file.get())); in Symbolize() 175 builder_->PrepareDynamicSection(elf_file->GetPath(), in Symbolize() 225 if (elf_file->FlushCloseOrErase() != 0) { in Symbolize() 228 elf_file.reset(); in Symbolize()
|