/art/runtime/verifier/ |
H A D | dex_gc_map.cc | 24 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 D | method_verifier-inl.h | 33 inline RegisterLine* MethodVerifier::GetRegLine(uint32_t dex_pc) { argument 34 return reg_table_.GetLine(dex_pc);
|
H A D | register_line.cc | 95 uint32_t this_reg, uint32_t dex_pc) { 105 auto it = verifier->GetStringInitPcRegMap().find(dex_pc); 110 verifier->GetStringInitPcRegMap().Put(dex_pc, reg_set); 94 MarkRefsAsInitialized(MethodVerifier* verifier, const RegType& uninit_type, uint32_t this_reg, uint32_t dex_pc) argument
|
/art/runtime/ |
H A D | exception_test.cc | 180 const uint32_t dex_pc = 3; local 189 fake_stack.push_back(method_g_->ToNativeQuickPc(dex_pc)); // return pc 195 fake_stack.push_back(method_f_->ToNativeQuickPc(dex_pc)); // return pc
|
H A D | quick_exception_handler.h | 71 void SetHandlerDexPc(uint32_t dex_pc) { argument 72 handler_dex_pc_ = dex_pc;
|
H A D | quick_exception_handler.cc | 87 uint32_t dex_pc = DexFile::kDexNoIndex; local 89 dex_pc = GetDexPc(); 91 if (dex_pc != DexFile::kDexNoIndex) { 95 uint32_t found_dex_pc = method->FindCatchBlock(to_find, dex_pc, &clear_exception); 203 uint32_t dex_pc = GetDexPc(); local 213 ShadowFrame* new_frame = ShadowFrame::CreateDeoptimizedFrame(num_regs, nullptr, m, dex_pc); 217 const std::vector<int32_t> kinds(verifier.DescribeVRegs(dex_pc));
|
H A D | stack_map.cc | 109 void StackMap::SetDexPc(const CodeInfo& info, uint32_t dex_pc) { argument 110 StoreAt(region_, info.NumberOfBytesForDexPc(), info.ComputeStackMapDexPcOffset(), dex_pc); 215 << " (dex_pc=0x" << stack_map.GetDexPc(*this)
|
H A D | profiler.h | 51 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 D | art_method-inl.h | 386 inline int32_t ArtMethod::GetLineNumFromDexPC(uint32_t dex_pc) { argument 388 if (dex_pc == DexFile::kDexNoIndex) { 391 return GetDexFile()->GetLineNumFromPC(this, dex_pc);
|
H A D | art_method.cc | 222 uintptr_t ArtMethod::ToNativeQuickPc(const uint32_t dex_pc, bool abort_on_failure) { argument 227 DCHECK_EQ(dex_pc, 0U); 233 if (cur.DexPc() == dex_pc) { 240 if (cur.DexPc() == dex_pc) { 245 LOG(FATAL) << "Failed to find native offset for dex pc 0x" << std::hex << dex_pc 252 uint32_t dex_pc, bool* has_no_move_exception) { 261 // Iterate over the catch handlers associated with dex_pc. 262 for (CatchHandlerIterator it(*code_item, dex_pc); it.HasNext(); it.Next()) { 251 FindCatchBlock(Handle<mirror::Class> exception_type, uint32_t dex_pc, bool* has_no_move_exception) argument
|
H A D | instrumentation.cc | 295 uint32_t dex_pc = visitor.dex_pcs_.back(); local 298 instrumentation->MethodEnterEvent(thread, (*isi).this_object_, (*isi).method_, dex_pc); 862 uint32_t dex_pc) const { 870 cur->MethodEntered(thread, this_object, method, dex_pc); 876 uint32_t dex_pc, const JValue& return_value) const { 884 cur->MethodExited(thread, this_object, method, dex_pc, return_value); 890 uint32_t dex_pc) const { 893 listener->MethodUnwind(thread, this_object, method, dex_pc); 900 uint32_t dex_pc) const { 903 listener->DexPcMoved(thread, this_object, method, dex_pc); 874 MethodExitEventImpl(Thread* thread, mirror::Object* this_object, ArtMethod* method, uint32_t dex_pc, const JValue& return_value) const argument 914 FieldReadEventImpl(Thread* thread, mirror::Object* this_object, ArtMethod* method, uint32_t dex_pc, ArtField* field) const argument 923 FieldWriteEventImpl(Thread* thread, mirror::Object* this_object, ArtMethod* method, uint32_t dex_pc, ArtField* field, const JValue& field_value) const argument 1002 uint32_t dex_pc = DexFile::kDexNoIndex; local 1055 uint32_t dex_pc = DexFile::kDexNoIndex; local [all...] |
H A D | monitor.cc | 1027 uint32_t dex_pc = stack_visitor->GetDexPc(abort_on_failure); local 1028 if (!abort_on_failure && dex_pc == DexFile::kDexNoIndex) { 1029 LOG(ERROR) << "Could not find dex_pc for " << PrettyMethod(m); 1036 verifier::MethodVerifier::FindLocksAtDexPc(m, dex_pc, &monitor_enter_dex_pcs); 1091 void Monitor::TranslateLocation(ArtMethod* method, uint32_t dex_pc, argument 1103 *line_number = method->GetLineNumFromDexPC(dex_pc);
|
/art/runtime/mirror/ |
H A D | throwable.cc | 112 uintptr_t dex_pc = method_trace->GetElementPtrSize<uintptr_t>(i + depth, ptr_size); local 113 int32_t line_number = method->GetLineNumFromDexPC(dex_pc);
|
/art/compiler/dex/ |
H A D | dex_to_dex_compiler.cc | 61 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 182 CompileReturnVoid(Instruction* inst, uint32_t dex_pc) argument 200 CompileCheckCast(Instruction* inst, uint32_t dex_pc) argument 228 CompileInstanceFieldAccess(Instruction* inst, uint32_t dex_pc, Instruction::Code new_opcode, bool is_put) argument 254 CompileInvokeVirtual(Instruction* inst, uint32_t dex_pc, Instruction::Code new_opcode, bool is_range) argument [all...] |
H A D | verified_method.cc | 74 const MethodReference* VerifiedMethod::GetDevirtTarget(uint32_t dex_pc) const { 75 auto it = devirt_map_.find(dex_pc); 79 const DexFileReference* VerifiedMethod::GetDequickenIndex(uint32_t dex_pc) const { 81 auto it = dequicken_map_.find(dex_pc); 215 uint32_t dex_pc = inst->GetDexPc(insns); local 216 verifier::RegisterLine* line = method_verifier->GetRegLine(dex_pc); 226 dequicken_map_.Put(dex_pc, DexFileReference(method->GetDexFile(), 229 uint32_t dex_pc = inst->GetDexPc(insns); local 230 verifier::RegisterLine* line = method_verifier->GetRegLine(dex_pc); 240 dequicken_map_.Put(dex_pc, DexFileReferenc 268 uint32_t dex_pc = inst->GetDexPc(insns); local 338 uint32_t dex_pc = inst->GetDexPc(code_item->insns_); local [all...] |
/art/compiler/optimizing/ |
H A D | stack_map_stream.cc | 21 void StackMapStream::BeginStackMapEntry(uint32_t dex_pc, argument 27 DCHECK_EQ(0u, current_entry_.dex_pc) << "EndStackMapEntry not called after BeginStackMapEntry"; 28 current_entry_.dex_pc = dex_pc; 52 dex_pc_max_ = std::max(dex_pc_max_, dex_pc); 187 DCHECK_EQ(0u, current_entry_.dex_pc) << "EndStackMapEntry not called after BeginStackMapEntry"; 231 stack_map.SetDexPc(code_info, entry.dex_pc);
|
H A D | stack_map_stream.h | 88 uint32_t dex_pc; member in struct:art::StackMapStream::StackMapEntry 105 void BeginStackMapEntry(uint32_t dex_pc,
|
H A D | code_generator.cc | 501 uint32_t dex_pc = pc_info.dex_pc; local 502 const uint8_t* references = dex_gc_map.FindBitMap(dex_pc, false); 503 CHECK(references != nullptr) << "Missing ref for dex pc 0x" << std::hex << dex_pc; local 512 int32_t pc2dex_dalvik_offset = pc_info.dex_pc; 530 pc2dex_data_size += SignedLeb128Size(pc_info.dex_pc - pc2dex_dalvik_offset); 532 pc2dex_dalvik_offset = pc_info.dex_pc; 570 write_pos = EncodeSignedLeb128(write_pos, pc_info.dex_pc - pc2dex_dalvik_offset); 572 pc2dex_dalvik_offset = pc_info.dex_pc; 600 CHECK_EQ(pc_info.dex_pc, i 634 RecordPcInfo(HInstruction* instruction, uint32_t dex_pc, SlowPathCode* slow_path) argument 915 RecordPcInfo(CodeGenerator* codegen, HInstruction* instruction, uint32_t dex_pc) argument [all...] |
H A D | code_generator.h | 63 uint32_t dex_pc; member in struct:art::PcInfo 82 void RecordPcInfo(CodeGenerator* codegen, HInstruction* instruction, uint32_t dex_pc); 219 void RecordPcInfo(HInstruction* instruction, uint32_t dex_pc, SlowPathCode* slow_path = nullptr);
|
/art/runtime/interpreter/ |
H A D | interpreter.cc | 405 const uint32_t dex_pc = shadow_frame->GetDexPC(); local 410 uint32_t found_dex_pc = FindNextInstructionFollowingException(self, *shadow_frame, dex_pc, 415 const Instruction* instr = Instruction::At(&code_item->insns_[dex_pc]); 418 new_dex_pc = dex_pc + (instr->IsInvoke() ? instr->SizeInCodeUnits() : 0);
|
H A D | interpreter_goto_table_impl.cc | 30 // - "dex_pc": the current pc. 39 dex_pc = static_cast<uint32_t>(static_cast<int32_t>(dex_pc) + disp); \ 40 shadow_frame.SetDexPC(dex_pc); \ 41 TraceExecution(shadow_frame, inst, dex_pc); \ 155 uint32_t dex_pc = shadow_frame.GetDexPC(); local 156 const Instruction* inst = Instruction::At(code_item->insns_ + dex_pc); 160 if (LIKELY(dex_pc == 0)) { // We are entering the method as opposed to deoptimizing. 263 shadow_frame.GetMethod(), dex_pc, 277 shadow_frame.GetMethod(), dex_pc, [all...] |
H A D | interpreter_switch_impl.cc | 33 int32_t displacement = static_cast<int32_t>(found_dex_pc) - static_cast<int32_t>(dex_pc); \ 52 shadow_frame.GetMethod(), dex_pc); \ 66 uint32_t dex_pc = shadow_frame.GetDexPC(); local 68 if (LIKELY(dex_pc == 0)) { // We are entering the method as opposed to deoptimizing. 78 const Instruction* inst = Instruction::At(insns + dex_pc); 81 dex_pc = inst->GetDexPc(insns); 82 shadow_frame.SetDexPC(dex_pc); 83 TraceExecution(shadow_frame, inst, dex_pc);
|
H A D | interpreter_common.cc | 417 Thread* self, ShadowFrame& shadow_frame, uint32_t dex_pc, 428 hs.NewHandle(exception->GetClass()), dex_pc, &clear_exception); 433 shadow_frame.GetMethod(), dex_pc); 678 uint32_t dex_pc = shadow_frame.GetDexPC(); local 679 auto map_it = string_init_map_ptr->find(dex_pc); 416 FindNextInstructionFollowingException( Thread* self, ShadowFrame& shadow_frame, uint32_t dex_pc, const instrumentation::Instrumentation* instrumentation) argument
|
/art/compiler/ |
H A D | elf_writer_debug.cc | 406 int dex_pc = pc2dex.to_; local 407 auto dex2line = dex2line_map.Find(static_cast<uint32_t>(dex_pc));
|
/art/runtime/jdwp/ |
H A D | jdwp.h | 78 uint32_t dex_pc; member in struct:art::JDWP::EventLocation 88 uint64_t dex_pc; member in struct:art::JDWP::JdwpLocation
|