Home
last modified time | relevance | path

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

/art/compiler/debug/
Delf_debug_line_writer.h51 size_t WriteCompilationUnit(ElfCompilationUnit& compilation_unit) { in WriteCompilationUnit() argument
54 const Elf_Addr base_address = compilation_unit.is_code_address_text_relative in WriteCompilationUnit()
58 compilation_unit.debug_line_offset = builder_->GetDebugLine()->GetPosition(); in WriteCompilationUnit()
80 std::unordered_set<uint64_t> seen_addresses(compilation_unit.methods.size()); in WriteCompilationUnit()
82 for (const MethodDebugInfo* mi : compilation_unit.methods) { in WriteCompilationUnit()
Delf_debug_info_writer.h108 void Write(const ElfCompilationUnit& compilation_unit) { in Write() argument
109 CHECK(!compilation_unit.methods.empty()); in Write()
110 const Elf_Addr base_address = compilation_unit.is_code_address_text_relative in Write()
121 info_.WriteAddr(DW_AT_low_pc, base_address + compilation_unit.code_address); in Write()
122 info_.WriteSecOffset(DW_AT_stmt_list, compilation_unit.debug_line_offset); in Write()
127 for (auto mi : compilation_unit.methods) { in Write()
128 uint64_t low_pc = mi->code_address - compilation_unit.code_address; in Write()
147 for (auto mi : compilation_unit.methods) { in Write()
214 WriteRegLocation(mi, dex_reg_maps, vreg, is64bitValue, compilation_unit.code_address); in Write()
233 WriteRegLocation(mi, dex_reg_maps, vreg, is64bitValue, compilation_unit.code_address); in Write()
[all …]
Delf_debug_writer.cc95 for (auto& compilation_unit : compilation_units) { in WriteDebugInfo() local
96 line_writer.WriteCompilationUnit(compilation_unit); in WriteDebugInfo()
105 for (const auto& compilation_unit : compilation_units) { in WriteDebugInfo() local
107 cu_writer.Write(compilation_unit); in WriteDebugInfo()
/art/compiler/optimizing/
Dinliner.cc293 const DexCompilationUnit& compilation_unit) in FindClassIndexIn() argument
295 const DexFile& dex_file = *compilation_unit.GetDexFile(); in FindClassIndexIn()
304 DCHECK_EQ(cls->GetDexCache(), compilation_unit.GetDexCache().Get()); in FindClassIndexIn()
312 ObjPtr<mirror::Class> resolved = compilation_unit.GetClassLinker()->LookupResolvedType( in FindClassIndexIn()
313 index, compilation_unit.GetDexCache().Get(), compilation_unit.GetClassLoader().Get()); in FindClassIndexIn()
551 const DexCompilationUnit& compilation_unit, in AllocateInlineCacheHolder() argument
555 ClassLinker* class_linker = compilation_unit.GetClassLinker(); in AllocateInlineCacheHolder()
Dinstruction_builder.h289 const DexCompilationUnit& compilation_unit) const
Dinstruction_builder.cc1335 auto is_static_method_or_constructor_of_cls = [cls](const DexCompilationUnit& compilation_unit) in IsInitialized()
1337 return (compilation_unit.GetAccessFlags() & (kAccStatic | kAccConstructor)) != 0u && in IsInitialized()
1338 compilation_unit.GetCompilingClass().Get() == cls.Get(); in IsInitialized()
3163 const DexCompilationUnit& compilation_unit) const { in LookupResolvedType()
3164 return compilation_unit.GetClassLinker()->LookupResolvedType( in LookupResolvedType()
3165 type_index, compilation_unit.GetDexCache().Get(), compilation_unit.GetClassLoader().Get()); in LookupResolvedType()