/art/compiler/ |
elf_writer.h | 49 : compiler_driver_(&driver), elf_file_(elf_file) { 61 File* const elf_file_; member in class:art::ElfWriter
|
elf_patcher.cc | 137 CHECK_GE(ret, reinterpret_cast<uintptr_t>(elf_file_->Begin())); 138 CHECK_LT(ret, reinterpret_cast<uintptr_t>(elf_file_->End())); 281 Elf32_Shdr* shdr = elf_file_->FindSectionByName(".oat_patches"); 283 CHECK_EQ(shdr, elf_file_->FindSectionByType(SHT_OAT_PATCH)) 287 CHECK_LE(reinterpret_cast<uintptr_t>(elf_file_->Begin()) + shdr->sh_offset + shdr->sh_size, 288 reinterpret_cast<uintptr_t>(elf_file_->End())) << "section is too large"; 289 CHECK(shdr == elf_file_->GetSectionHeader(elf_file_->GetSectionHeaderNum() - 1) || 293 memcpy(elf_file_->Begin() + shdr->sh_offset, patches_.data(), 303 *error_msg_ += elf_file_->GetFile().GetPath() [all...] |
elf_writer_mclinker.cc | 125 linker_config_->options().setSOName(elf_file_->GetPath()); 162 std::unique_ptr<OatFile> oat_file(OatFile::OpenMemory(oat_contents, elf_file_->GetPath(), &error_msg)); 163 CHECK(oat_file.get() != NULL) << elf_file_->GetPath() << ": " << error_msg; 328 LOG(ERROR) << "Failed to link " << elf_file_->GetPath(); 334 int fd = dup(elf_file_->Fd()); 336 PLOG(ERROR) << "Failed to dup file descriptor for " << elf_file_->GetPath(); 340 LOG(ERROR) << "Failed to emit " << elf_file_->GetPath(); 344 LOG(INFO) << "ELF file written successfully: " << elf_file_->GetPath(); 350 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(elf_file_, true, false, &error_msg)); 351 CHECK(elf_file.get() != NULL) << elf_file_->GetPath() << ": " << error_msg [all...] |
elf_patcher.h | 68 : compiler_driver_(driver), elf_file_(elf_file), oat_file_(oat_file), 110 ElfFile* elf_file_; member in class:art::ElfPatcher 115 // The oat_header_ within the elf_file_
|
elf_writer_quick.h | 222 elf_file_(elf_file), 252 File* elf_file_; member in class:art::FINAL::FINAL
|
elf_writer_quick.cc | 292 std::string file_name(elf_file_->GetPath()); 605 if (!WriteOutFile(pieces, elf_file_)) { 606 LOG(ERROR) << "Unable to write to file " << elf_file_->GetPath(); [all...] |
/art/runtime/ |
oat_file.h | 79 CHECK_NE(reinterpret_cast<uintptr_t>(elf_file_.get()), reinterpret_cast<uintptr_t>(nullptr)) 81 return elf_file_.get(); 334 std::unique_ptr<ElfFile> elf_file_; member in class:art::OatFile
|
oat_file.cc | 49 oat_file->elf_file_.reset(elf_file); 199 elf_file_.reset(ElfFile::Open(file, writable, /*program_header_only*/true, error_msg, 201 if (elf_file_.get() == nullptr) { 205 bool loaded = elf_file_->Load(executable, error_msg); 210 begin_ = elf_file_->FindDynamicSymbolAddress("oatdata"); 222 end_ = elf_file_->FindDynamicSymbolAddress("oatlastword");
|