Home
last modified time | relevance | path

Searched refs:method_info (Results 1 – 11 of 11) sorted by relevance

/art/test/988-method-trace/
Dgen_srcs.py242 method_info = parse_method_info(items)
243 return method_info
254 def format_receiver_name(method_info): argument
255 receiver = method_info.klass
256 if method_info.staticness == 'virtual':
257 receiver = "instance_" + method_info.klass.replace(".", "_")
261 def format_call_to(method_info): argument
262 placeholder_args = ", ".join(method_info.placeholder_parameters())
263 receiver = format_receiver_name(method_info)
265 return ("%s.%s(%s);" %(receiver, method_info.method_name, placeholder_args))
[all …]
/art/compiler/debug/
Delf_debug_loc_writer.h85 const MethodDebugInfo* method_info, in GetVariableLocations() argument
97 const CodeInfo code_info(method_info->code_info); in GetVariableLocations()
111 DCHECK_LE(pc_offset, method_info->code_size); in GetVariableLocations()
112 DCHECK_LE(compilation_unit_code_address, method_info->code_address); in GetVariableLocations()
114 method_info->code_address + pc_offset - compilation_unit_code_address); in GetVariableLocations()
127 : method_info->code_address + method_info->code_size - compilation_unit_code_address; in GetVariableLocations()
147 CodeItemDataAccessor accessor(*method_info->dex_file, method_info->code_item); in GetVariableLocations()
171 static void WriteDebugLocEntry(const MethodDebugInfo* method_info, in WriteDebugLocEntry() argument
183 if (method_info->code_info == nullptr || dex_register_maps.empty()) { in WriteDebugLocEntry()
188 method_info, in WriteDebugLocEntry()
[all …]
Delf_debug_writer.cc179 const MethodDebugInfo& method_info) { in MakeElfFileForJIT() argument
182 CHECK_EQ(method_info.is_code_address_text_relative, false); in MakeElfFileForJIT()
184 debug_info.compiled_methods = ArrayRef<const MethodDebugInfo>(&method_info, 1); in MakeElfFileForJIT()
191 builder->GetText()->AllocateVirtualMemory(method_info.code_address, method_info.code_size); in MakeElfFileForJIT()
212 method_info.code_address + GetInstructionSetEntryPointAdjustment(isa)); in MakeElfFileForJIT()
213 DCHECK_EQ(sym.st_size, method_info.code_size); in MakeElfFileForJIT()
219 DCHECK_EQ(fde->sym_addr, method_info.code_address); in MakeElfFileForJIT()
220 DCHECK_EQ(fde->sym_size, method_info.code_size); in MakeElfFileForJIT()
Delf_debug_writer.h57 const MethodDebugInfo& method_info);
Delf_debug_info_writer.h454 void WriteRegLocation(const MethodDebugInfo* method_info,
461 WriteDebugLocEntry(method_info,
/art/test/ti-stress/
Dstress.cc363 ScopedMethodInfo method_info(jvmtienv, env, m); in doJvmtiMethodBind() local
364 if (!method_info.Init()) { in doJvmtiMethodBind()
368 LOG(INFO) << "Loading native method \"" << method_info << "\". Thread is " in doJvmtiMethodBind()
444 ScopedMethodInfo method_info(jvmtienv, env, m); in FieldAccessHook() local
448 if (!method_info.Init() || !field_info.Init() || !obj_class_info.Init()) { in FieldAccessHook()
453 << "type \"" << obj_class_info.GetName() << "\" in method \"" << method_info in FieldAccessHook()
514 ScopedMethodInfo method_info(jvmtienv, env, m); in FieldModificationHook() local
518 if (!method_info.Init() || !field_info.Init() || !obj_class_info.Init()) { in FieldModificationHook()
523 << "type \"" << obj_class_info.GetName() << "\" in method \"" << method_info in FieldModificationHook()
536 ScopedMethodInfo method_info(jvmtienv, env, m); in MethodExitHook() local
[all …]
/art/compiler/optimizing/
Dstack_map_stream.cc274 MethodInfo method_info = code_info.GetMethodInfoOf(inline_info); in BeginInlineInfoEntry() local
275 CHECK_EQ(method_info.GetMethodIndex(), method->GetDexMethodIndex()); in BeginInlineInfoEntry()
276 CHECK(method_info.GetDexFileIndexKind() == MethodInfo::kKindNonBCP || in BeginInlineInfoEntry()
277 method_info.GetDexFileIndexKind() == MethodInfo::kKindBCP); in BeginInlineInfoEntry()
282 CHECK_EQ(method_info.GetDexFileIndexKind(), MethodInfo::kKindBCP); in BeginInlineInfoEntry()
285 DCHECK_LT(method_info.GetDexFileIndex(), boot_class_path.size()); in BeginInlineInfoEntry()
286 CHECK(IsSameDexFile(*boot_class_path[method_info.GetDexFileIndex()], in BeginInlineInfoEntry()
289 CHECK_EQ(method_info.GetDexFileIndexKind(), MethodInfo::kKindNonBCP); in BeginInlineInfoEntry()
292 DCHECK_LT(method_info.GetDexFileIndex(), dex_files.size()); in BeginInlineInfoEntry()
293 CHECK(IsSameDexFile(*dex_files[method_info.GetDexFileIndex()], *method->GetDexFile())); in BeginInlineInfoEntry()
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h57 MethodInfo method_info) in GetResolvedMethodErrorString() argument
59 const uint32_t method_index = method_info.GetMethodIndex(); in GetResolvedMethodErrorString()
98 << (method_info.GetDexFileIndexKind() == MethodInfo::kKindBCP) << std::noboolalpha in GetResolvedMethodErrorString()
99 << ", dex_file_index=" << std::dec << method_info.GetDexFileIndex() << "."; in GetResolvedMethodErrorString()
136 MethodInfo method_info = code_info.GetMethodInfoOf(inline_info); in GetResolvedMethod() local
137 uint32_t method_index = method_info.GetMethodIndex(); in GetResolvedMethod()
138 const uint32_t dex_file_index = method_info.GetDexFileIndex(); in GetResolvedMethod()
141 if (method_info.HasDexFileIndex()) { in GetResolvedMethod()
142 if (method_info.GetDexFileIndexKind() == MethodInfo::kKindBCP) { in GetResolvedMethod()
147 class_linker, inlined_method, method, outer_method, dex_cache, method_info); in GetResolvedMethod()
[all …]
/art/tools/veridex/
Dresolver.cc259 VeriMethod method_info = method_infos_[method_index]; in GetMethod() local
260 if (method_info == nullptr) { in GetMethod()
268 method_info = LookupMethodIn(*kls, in GetMethod()
271 method_infos_[method_index] = method_info; in GetMethod()
273 return method_info; in GetMethod()
/art/runtime/
Dstack_map.cc297 MethodInfo method_info = code_info.GetMethodInfoOf(*this); in Dump() local
298 vios->Stream() << std::dec << ", method_index=" << method_info.GetMethodIndex(); in Dump()
299 if (method_info.HasDexFileIndex()) { in Dump()
301 << (method_info.GetDexFileIndexKind() == MethodInfo::kKindBCP) in Dump()
303 << method_info.GetDexFileIndex(); in Dump()
/art/tools/jvmti-agents/breakpoint-logger/
Dbreakpoint_logger.cc269 ScopedMethodInfo method_info(jvmti_env, env, method); in BreakpointCB() local
270 if (!method_info.Init()) { in BreakpointCB()
275 << location << " in method " << method_info << " thread: " << info.GetName(); in BreakpointCB()