Searched defs:dex_pc (Results 1 - 25 of 38) sorted by relevance

12

/art/runtime/verifier/
H A Ddex_gc_map.cc24 const uint8_t* DexPcToReferenceMap::FindBitMap(uint16_t dex_pc, bool error_if_not_present) const { argument
30 if (GetDexPc(i) == dex_pc) {
40 if (dex_pc > mid_pc) {
42 } else if (dex_pc < mid_pc) {
50 LOG(ERROR) << "Didn't find reference bit map for dex_pc " << dex_pc;
H A Dmethod_verifier-inl.h33 inline RegisterLine* MethodVerifier::GetRegLine(uint32_t dex_pc) { argument
34 return reg_table_.GetLine(dex_pc);
/art/runtime/entrypoints/portable/
H A Dportable_thread_entrypoints.cc35 uint32_t dex_pc = cur_frame->GetDexPC(); local
36 ShadowFrame* new_frame = ShadowFrame::Create(num_regs, NULL, method, dex_pc);
40 const uint8_t* reg_bitmap = dex_gc_map.FindBitMap(dex_pc);
H A Dportable_trampoline_entrypoints.cc323 uint32_t dex_pc; local
324 mirror::ArtMethod* caller = self->GetCurrentMethod(&dex_pc);
331 CHECK_LT(dex_pc, code->insns_size_in_code_units_);
332 const Instruction* instr = Instruction::At(&code->insns_[dex_pc]);
/art/runtime/
H A Dexception_test.cc172 const uint32_t dex_pc = 3; local
178 fake_stack.push_back(method_f_->ToNativePc(dex_pc)); // return pc
197 method_g_->ToNativePc(dex_pc)); // return pc
H A Dquick_exception_handler.h72 void SetHandlerDexPc(uint32_t dex_pc) { argument
73 handler_dex_pc_ = dex_pc;
H A Dquick_exception_handler.cc85 uint32_t dex_pc = DexFile::kDexNoIndex; local
87 dex_pc = GetDexPc();
89 if (dex_pc != DexFile::kDexNoIndex) {
93 uint32_t found_dex_pc = mirror::ArtMethod::FindCatchBlock(method, to_find, dex_pc,
205 uint32_t dex_pc = GetDexPc(); local
206 const Instruction* inst = Instruction::At(code_item->insns_ + dex_pc);
207 uint32_t new_dex_pc = dex_pc + inst->SizeInCodeUnits();
217 const std::vector<int32_t> kinds(verifier.DescribeVRegs(dex_pc));
H A Dprofiler.h51 StackTrieNode(MethodReference method, uint32_t dex_pc, uint32_t method_size, argument
53 parent_(parent), method_(method), dex_pc_(dex_pc),
65 StackTrieNode* FindChild(MethodReference method, uint32_t dex_pc);
H A Dstack_map.h130 * [dex_pc, native_pc, dex_register_map_offset, inlining_info_offset, register_mask, stack_mask].
144 void SetDexPc(uint32_t dex_pc) { argument
145 region_.Store<uint32_t>(kDexPcOffset, dex_pc);
267 StackMap<T> GetStackMapForDexPc(uint32_t dex_pc) { argument
270 if (stack_map.GetDexPc() == dex_pc) {
H A Dtrace.cc566 mirror::ArtMethod* method, uint32_t dex_pc, mirror::ArtField* field)
569 LOG(ERROR) << "Unexpected field read event in tracing " << PrettyMethod(method) << " " << dex_pc;
573 mirror::ArtMethod* method, uint32_t dex_pc, mirror::ArtField* field,
577 LOG(ERROR) << "Unexpected field write event in tracing " << PrettyMethod(method) << " " << dex_pc;
581 mirror::ArtMethod* method, uint32_t dex_pc) {
590 mirror::ArtMethod* method, uint32_t dex_pc,
601 mirror::ArtMethod* method, uint32_t dex_pc) {
580 MethodEntered(Thread* thread, mirror::Object* this_object, mirror::ArtMethod* method, uint32_t dex_pc) argument
589 MethodExited(Thread* thread, mirror::Object* this_object, mirror::ArtMethod* method, uint32_t dex_pc, const JValue& return_value) argument
600 MethodUnwind(Thread* thread, mirror::Object* this_object, mirror::ArtMethod* method, uint32_t dex_pc) argument
/art/runtime/mirror/
H A Dthrowable.cc92 uint32_t dex_pc = pc_trace->Get(i); local
93 int32_t line_number = method->GetLineNumFromDexPC(dex_pc);
H A Dart_method.cc206 uintptr_t ArtMethod::ToNativePc(const uint32_t dex_pc) { argument
211 DCHECK_EQ(dex_pc, 0U);
217 if (cur.DexPc() == dex_pc) {
224 if (cur.DexPc() == dex_pc) {
228 LOG(FATAL) << "Failed to find native offset for dex pc 0x" << std::hex << dex_pc
234 uint32_t dex_pc, bool* has_no_move_exception) {
246 // Iterate over the catch handlers associated with dex_pc.
247 for (CatchHandlerIterator it(*code_item, dex_pc); it.HasNext(); it.Next()) {
233 FindCatchBlock(Handle<ArtMethod> h_this, Handle<Class> exception_type, uint32_t dex_pc, bool* has_no_move_exception) argument
H A Dart_method-inl.h464 inline int32_t ArtMethod::GetLineNumFromDexPC(uint32_t dex_pc) { argument
466 if (dex_pc == DexFile::kDexNoIndex) {
469 return method->GetDexFile()->GetLineNumFromPC(method, dex_pc);
/art/compiler/dex/
H A Ddex_to_dex_compiler.cc61 void CompileReturnVoid(Instruction* inst, uint32_t dex_pc);
66 Instruction* CompileCheckCast(Instruction* inst, uint32_t dex_pc);
74 void CompileInstanceFieldAccess(Instruction* inst, uint32_t dex_pc,
83 void CompileInvokeVirtual(Instruction* inst, uint32_t dex_pc,
100 for (uint32_t dex_pc = 0; dex_pc < insns_size;
101 inst = const_cast<Instruction*>(inst->Next()), dex_pc = inst->GetDexPc(insns)) {
104 CompileReturnVoid(inst, dex_pc);
108 inst = CompileCheckCast(inst, dex_pc);
112 CompileInstanceFieldAccess(inst, dex_pc, Instructio
156 CompileReturnVoid(Instruction* inst, uint32_t dex_pc) argument
175 CompileCheckCast(Instruction* inst, uint32_t dex_pc) argument
203 CompileInstanceFieldAccess(Instruction* inst, uint32_t dex_pc, Instruction::Code new_opcode, bool is_put) argument
229 CompileInvokeVirtual(Instruction* inst, uint32_t dex_pc, Instruction::Code new_opcode, bool is_range) argument
[all...]
H A Dverified_method.cc71 const MethodReference* VerifiedMethod::GetDevirtTarget(uint32_t dex_pc) const {
72 auto it = devirt_map_.find(dex_pc);
215 uint32_t dex_pc = inst->GetDexPc(insns); local
216 verifier::RegisterLine* line = method_verifier->GetRegLine(dex_pc);
261 devirt_map_.Put(dex_pc, concrete_ref);
283 uint32_t dex_pc = inst->GetDexPc(code_item->insns_); local
284 const verifier::RegisterLine* line = method_verifier->GetRegLine(dex_pc);
305 DCHECK(safe_cast_set_.empty() || safe_cast_set_.back() < dex_pc);
306 safe_cast_set_.push_back(dex_pc);
/art/compiler/optimizing/
H A Dcode_generator.h48 uint32_t dex_pc; member in struct:art::PcInfo
116 void RecordPcInfo(uint32_t dex_pc) { argument
118 pc_info.dex_pc = dex_pc;
H A Dstack_map_stream.h49 uint32_t dex_pc; member in struct:art::StackMapStream::StackMapEntry
68 void AddStackMapEntry(uint32_t dex_pc, argument
75 entry.dex_pc = dex_pc;
159 stack_map.SetDexPc(entry.dex_pc);
H A Dcode_generator.cc293 uint32_t dex_pc = pc_info.dex_pc; local
294 const uint8_t* references = dex_gc_map.FindBitMap(dex_pc, false);
295 CHECK(references != NULL) << "Missing ref for dex pc 0x" << std::hex << dex_pc; local
312 pc2dex_data_size += SignedLeb128Size(pc_info.dex_pc - pc2dex_dalvik_offset);
314 pc2dex_dalvik_offset = pc_info.dex_pc;
335 write_pos = EncodeSignedLeb128(write_pos, pc_info.dex_pc - pc2dex_dalvik_offset);
337 pc2dex_dalvik_offset = pc_info.dex_pc;
352 CHECK_EQ(pc_info.dex_pc, it.DexPc());
H A Dcode_generator_arm.cc64 explicit NullCheckSlowPathARM(uint32_t dex_pc) : dex_pc_(dex_pc) {} argument
95 explicit BoundsCheckSlowPathARM(uint32_t dex_pc, argument
98 : dex_pc_(dex_pc), index_location_(index_location), length_location_(length_location) {}
H A Dcode_generator_x86.cc64 explicit NullCheckSlowPathX86(uint32_t dex_pc) : dex_pc_(dex_pc) {} argument
94 explicit BoundsCheckSlowPathX86(uint32_t dex_pc, argument
97 : dex_pc_(dex_pc), index_location_(index_location), length_location_(length_location) {}
H A Dcode_generator_x86_64.cc68 explicit NullCheckSlowPathX86_64(uint32_t dex_pc) : dex_pc_(dex_pc) {} argument
100 explicit BoundsCheckSlowPathX86_64(uint32_t dex_pc, argument
103 : dex_pc_(dex_pc), index_location_(index_location), length_location_(length_location) {}
/art/runtime/interpreter/
H A Dinterpreter_goto_table_impl.cc26 // - "dex_pc": the current pc.
36 dex_pc = static_cast<uint32_t>(static_cast<int32_t>(dex_pc) + disp); \
37 shadow_frame.SetDexPC(dex_pc); \
38 TraceExecution(shadow_frame, inst, dex_pc, mh); \
144 uint32_t dex_pc = shadow_frame.GetDexPC(); local
145 const Instruction* inst = Instruction::At(code_item->insns_ + dex_pc);
150 if (LIKELY(dex_pc == 0)) { // We are entering the method as opposed to deoptimizing..
258 shadow_frame.GetMethod(), dex_pc,
262 shadow_frame.GetMethod(), dex_pc);
[all...]
H A Dinterpreter_switch_impl.cc34 int32_t displacement = static_cast<int32_t>(found_dex_pc) - static_cast<int32_t>(dex_pc); \
56 shadow_frame.GetMethod(), dex_pc); \
70 uint32_t dex_pc = shadow_frame.GetDexPC(); local
73 if (LIKELY(dex_pc == 0)) { // We are entering the method as opposed to deoptimizing..
81 const Instruction* inst = Instruction::At(insns + dex_pc);
84 dex_pc = inst->GetDexPc(insns);
85 shadow_frame.SetDexPC(dex_pc);
86 TraceExecution(shadow_frame, inst, dex_pc, mh);
187 shadow_frame.GetMethod(), dex_pc);
203 shadow_frame.GetMethod(), dex_pc);
[all...]
H A Dinterpreter_common.cc407 uint32_t dex_pc = GetDexPc(); local
408 if (dex_pc != DexFile::kDexNoIndex) {
414 found_dex_pc = mirror::ArtMethod::FindCatchBlock(h_method, exception_class, dex_pc,
452 uint32_t dex_pc,
470 found_dex_pc = mirror::ArtMethod::FindCatchBlock(h_method, exception_class, dex_pc,
475 shadow_frame.GetMethod(), dex_pc);
479 shadow_frame.GetMethod(), dex_pc);
450 FindNextInstructionFollowingException(Thread* self, ShadowFrame& shadow_frame, uint32_t dex_pc, const instrumentation::Instrumentation* instrumentation) argument
/art/runtime/jdwp/
H A Djdwp.h75 uint32_t dex_pc; member in struct:art::JDWP::EventLocation
85 uint64_t dex_pc; member in struct:art::JDWP::JdwpLocation

Completed in 1160 milliseconds

12