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()
|
D | elf_writer_quick.cc | 88 File* elf_file); 138 File* elf_file) { in CreateElfWriterQuick() argument 140 return std::make_unique<ElfWriterQuick<ElfTypes64>>(compiler_options, elf_file); in CreateElfWriterQuick() 142 return std::make_unique<ElfWriterQuick<ElfTypes32>>(compiler_options, elf_file); in CreateElfWriterQuick() 147 ElfWriterQuick<ElfTypes>::ElfWriterQuick(const CompilerOptions& compiler_options, File* elf_file) in ElfWriterQuick() argument 150 elf_file_(elf_file), in ElfWriterQuick() 157 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/runtime/ |
D | runtime_test.cc | 103 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(core_oat_file.get(), in TEST_F() local 108 ASSERT_TRUE(elf_file != nullptr) << error_msg; in TEST_F() 109 EXPECT_EQ(kElfSegmentAlignment, elf_file->GetElfSegmentAlignmentFromFile()); in TEST_F()
|
D | Android.bp | 383 "oat/elf_file.cc",
|
/art/compiler/jit/ |
D | jit_compiler.cc | 144 std::vector<uint8_t> elf_file = in TypesLoaded() local 149 AddNativeDebugInfoForJit(/*code_ptr=*/ nullptr, elf_file, /*allow_packing=*/ false); in TypesLoaded()
|
/art/runtime/oat/ |
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() 1692 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, true, false, /*low_4gb=*/false, error_msg)); in Strip() local 1693 if (elf_file.get() == nullptr) { in Strip() 1697 if (elf_file->elf64_.get() != nullptr) { in Strip() 1698 return elf_file->elf64_->Strip(file, error_msg); in Strip() [all …]
|
D | oat_file.cc | 1570 ElfFile* elf_file, 1620 ElfFile* elf_file, in InitializeFromElfFile() argument 1629 elf_file_.reset(elf_file); in InitializeFromElfFile() 1632 bool has_section = elf_file->GetSectionOffsetAndSize(".rodata", &offset, &size); in InitializeFromElfFile() 1634 SetBegin(elf_file->Begin() + offset); in InitializeFromElfFile() 1635 SetEnd(elf_file->Begin() + size + offset); in InitializeFromElfFile()
|
/art/dex2oat/ |
D | dex2oat_test.cc | 2033 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file.get(), in TEST_F() local 2038 ASSERT_TRUE(elf_file != nullptr) << error_msg; in TEST_F() 2039 ASSERT_TRUE(elf_file->Load(file.get(), in TEST_F() 2045 const uint8_t* base_address = elf_file->Is64Bit() ? elf_file->GetImpl64()->GetBaseAddress() : in TEST_F() 2046 elf_file->GetImpl32()->GetBaseAddress(); in TEST_F() 2047 const uint8_t* oatdata = elf_file->FindDynamicSymbolAddress("oatdata"); in TEST_F() 2053 const uint8_t* oatlastword = elf_file->FindDynamicSymbolAddress("oatlastword"); in TEST_F()
|
/art/oatdump/ |
D | oatdump.cc | 150 std::unique_ptr<File> elf_file(OS::CreateEmptyFile(output_name_.c_str())); in Symbolize() local 151 if (elf_file == nullptr) { in Symbolize() 156 std::make_unique<FileOutputStream>(elf_file.get())); in Symbolize() 180 builder_->PrepareDynamicSection(elf_file->GetPath(), in Symbolize() 232 if (elf_file->FlushCloseOrErase() != 0) { in Symbolize() 235 elf_file.reset(); in Symbolize()
|