Searched refs:elf_file (Results 1 - 13 of 13) sorted by relevance
/art/compiler/ |
H A D | elf_writer.cc | 25 #include "elf_file.h" 33 uintptr_t ElfWriter::GetOatDataAddress(ElfFile* elf_file) { argument 34 uintptr_t oatdata_address = elf_file->FindSymbolAddress(SHT_DYNSYM, 45 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, 50 CHECK(elf_file.get() != nullptr) << error_msg; 52 bool success = elf_file->GetLoadedSize(oat_loaded_size, &error_msg); 55 *oat_data_offset = GetOatDataAddress(elf_file.get()); 61 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, true, false, /*low_4gb*/false, &error_msg)); 62 CHECK(elf_file.get() != nullptr) << error_msg; 65 uintptr_t oatdata_address = ElfWriter::GetOatDataAddress(elf_file [all...] |
H A D | elf_writer_quick.h | 34 File* elf_file);
|
H A D | elf_writer_quick.cc | 92 File* elf_file); 132 File* elf_file) { 137 elf_file); 142 elf_file); 150 File* elf_file) 154 elf_file_(elf_file), 158 output_stream_(MakeUnique<BufferedOutputStream>(MakeUnique<FileOutputStream>(elf_file))), 129 CreateElfWriterQuick(InstructionSet instruction_set, const InstructionSetFeatures* features, const CompilerOptions* compiler_options, File* elf_file) argument 147 ElfWriterQuick(InstructionSet instruction_set, const InstructionSetFeatures* features, const CompilerOptions* compiler_options, File* elf_file) argument
|
H A D | elf_writer.h | 48 static uintptr_t GetOatDataAddress(ElfFile* elf_file);
|
/art/compiler/jit/ |
H A D | jit_compiler.cc | 72 std::vector<uint8_t> elf_file = debug::WriteDebugElfFileForClasses( local 74 CreateJITCodeEntry(std::move(elf_file));
|
/art/runtime/ |
H A D | elf_file.cc | 17 #include "elf_file.h" 65 std::unique_ptr<ElfFileImpl<ElfTypes>> elf_file(new ElfFileImpl<ElfTypes> 76 if (!elf_file->Setup(file, prot, flags, low_4gb, error_msg)) { 79 return elf_file.release(); 88 std::unique_ptr<ElfFileImpl<ElfTypes>> elf_file(new ElfFileImpl<ElfTypes> 91 if (!elf_file->Setup(file, prot, flags, low_4gb, error_msg)) { 94 return elf_file.release(); 1861 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, true, false, /*low_4gb*/false, error_msg)); 1862 if (elf_file.get() == nullptr) { 1866 if (elf_file [all...] |
H A D | oat_file.cc | 40 #include "elf_file.h" 769 bool InitializeFromElfFile(ElfFile* elf_file, 845 bool ElfOatFile::InitializeFromElfFile(ElfFile* elf_file, argument 853 elf_file_.reset(elf_file); 855 bool has_section = elf_file->GetSectionOffsetAndSize(".rodata", &offset, &size); 857 SetBegin(elf_file->Begin() + offset); 858 SetEnd(elf_file->Begin() + size + offset); 934 OatFile* OatFile::OpenWithElfFile(ElfFile* elf_file, argument 939 return oat_file->InitializeFromElfFile(elf_file, abs_dex_location, error_msg)
|
H A D | oat_file.h | 58 static OatFile* OpenWithElfFile(ElfFile* elf_file, const std::string& location,
|
H A D | runtime.cc | 68 #include "elf_file.h" 854 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file.get(), 859 if (elf_file.get() == nullptr) { 863 OatFile::OpenWithElfFile(elf_file.release(), oat_location, nullptr, &error_msg));
|
H A D | Android.mk | 52 elf_file.cc \
|
/art/patchoat/ |
H A D | patchoat.cc | 35 #include "elf_file.h" 95 static const OatHeader* GetOatHeader(const ElfFile* elf_file) { argument 97 if (!elf_file->GetSectionOffsetAndSize(".rodata", &off, nullptr)) { 101 OatHeader* oat_header = reinterpret_cast<OatHeader*>(elf_file->Begin() + off); 107 static bool ReadOatPatchDelta(const ElfFile* elf_file, off_t* delta, std::string* error_msg) { argument 108 const OatHeader* oat_header = GetOatHeader(elf_file);
|
/art/compiler/optimizing/ |
H A D | optimizing_compiler.cc | 961 std::vector<uint8_t> elf_file = debug::WriteDebugElfFileForMethods( local 965 CreateJITCodeEntryForAddress(code_address, std::move(elf_file));
|
/art/oatdump/ |
H A D | oatdump.cc | 115 File* elf_file = OS::CreateEmptyFile(output_name_.c_str()); local 117 MakeUnique<BufferedOutputStream>(MakeUnique<FileOutputStream>(elf_file))); 154 elf_file->GetPath(), rodata_size, text_size, oat_file_->BssSize());
|
Completed in 699 milliseconds