Home
last modified time | relevance | path

Searched refs:elf (Results 1 – 6 of 6) sorted by relevance

/art/compiler/sea_ir/code_gen/
Dcode_gen_data.cc33 std::string elf; in GetElf() local
34 ::llvm::raw_string_ostream out_stream(elf); in GetElf()
102 return elf; in GetElf()
/art/compiler/
Delf_patcher.cc59 bool ElfPatcher::Patch(const CompilerDriver* driver, ElfFile* elf, const OatFile* oat_file, in Patch() argument
62 Elf32_Shdr* data_sec = elf->FindSectionByName(".rodata"); in Patch()
67 OatHeader* oat_header = reinterpret_cast<OatHeader*>(elf->Begin() + data_sec->sh_offset); in Patch()
73 ElfPatcher p(driver, elf, oat_file, oat_header, oat_data_start, cb, cb_data, error_msg); in Patch()
Dimage_writer.cc1228 static OatHeader* GetOatHeaderFromElf(ElfFile* elf) { in GetOatHeaderFromElf() argument
1229 Elf32_Shdr* data_sec = elf->FindSectionByName(".rodata"); in GetOatHeaderFromElf()
1233 return reinterpret_cast<OatHeader*>(elf->Begin() + data_sec->sh_offset); in GetOatHeaderFromElf()
1238 std::unique_ptr<ElfFile> elf(ElfFile::Open(elf_file, PROT_READ|PROT_WRITE, in PatchOatCodeAndMethods() local
1240 if (elf.get() == nullptr) { in PatchOatCodeAndMethods()
1244 if (!ElfPatcher::Patch(&compiler_driver_, elf.get(), oat_file_, in PatchOatCodeAndMethods()
1251 OatHeader* oat_header = GetOatHeaderFromElf(elf.get()); in PatchOatCodeAndMethods()
/art/build/
DAndroid.cpplint.mk21 … -name "*$(ART_CPP_EXTENSION)" | grep -v art/compiler/llvm/generated/ | grep -v art/runtime/elf\.h)
/art/patchoat/
Dpatchoat.cc274 std::unique_ptr<ElfFile> elf(ElfFile::Open(input_oat, in Patch() local
276 if (elf.get() == nullptr) { in Patch()
282 MaybePic is_oat_pic = IsOatPic(elf.get()); in Patch()
301 PatchOat p(isa, elf.release(), image.release(), ispc->GetLiveBitmap(), ispc->GetMemMap(), in Patch()
572 std::unique_ptr<ElfFile> elf(ElfFile::Open(input_oat, in Patch() local
574 if (elf.get() == nullptr) { in Patch()
579 MaybePic is_oat_pic = IsOatPic(elf.get()); in Patch()
594 PatchOat p(elf.release(), delta, timings); in Patch()
/art/
DNOTICE193 For art/runtime/elf.h derived from external/llvm/include/llvm/Support/ELF.h