/art/runtime/arch/x86/ |
D | fault_handler_x86.cc | 80 static uint32_t GetInstructionSize(const uint8_t* pc) { in GetInstructionSize() argument 83 ssize_t bytes = SafeCopy(buf, pc, sizeof(buf)); in GetInstructionSize() 94 pc = reinterpret_cast<uint8_t*>(buf); in GetInstructionSize() 99 pc++; \ in GetInstructionSize() 100 if (pc - startpc > bytes) { \ in GetInstructionSize() 111 const uint8_t* startpc = pc; in GetInstructionSize() 113 uint8_t opcode = *pc; in GetInstructionSize() 146 opcode = *pc; in GetInstructionSize() 157 opcode = *pc; in GetInstructionSize() 164 opcode = *pc; in GetInstructionSize() [all …]
|
/art/runtime/arch/arm64/ |
D | fault_handler_arm64.cc | 72 << static_cast<void*>(reinterpret_cast<uint8_t*>(sc->pc)); in GetMethodAndReturnPcAndSp() 74 *out_return_pc = sc->pc + 4; in GetMethodAndReturnPcAndSp() 90 *reinterpret_cast<uintptr_t*>(sc->sp) = sc->pc + 4; in Action() 93 sc->pc = reinterpret_cast<uintptr_t>(art_quick_throw_null_pointer_exception_from_signal); in Action() 116 uint8_t* ptr2 = reinterpret_cast<uint8_t*>(sc->pc); in Action() 147 sc->regs[30] = sc->pc + 4; in Action() 148 sc->pc = reinterpret_cast<uintptr_t>(art_quick_implicit_suspend); in Action() 187 sc->pc = reinterpret_cast<uintptr_t>(art_quick_throw_stack_overflow); in Action()
|
/art/runtime/ |
D | oat_quick_method_header.h | 65 uintptr_t NativeQuickPcOffset(const uintptr_t pc) const { in NativeQuickPcOffset() argument 66 return pc - reinterpret_cast<uintptr_t>(GetEntryPoint()); in NativeQuickPcOffset() 116 bool Contains(uintptr_t pc) const { in Contains() argument 124 return code_start <= pc && pc <= (code_start + GetCodeSize()); in Contains() 158 const uintptr_t pc,
|
D | monitor_android.cc | 72 uint32_t pc; in LogContentionEvent() local 73 ArtMethod* m = self->GetCurrentMethod(&pc); in LogContentionEvent() 75 TranslateLocation(m, pc, &filename, &line_number); in LogContentionEvent()
|
D | oat_quick_method_header.cc | 32 const uintptr_t pc, in ToDexPc() argument 36 uint32_t sought_offset = pc - reinterpret_cast<uintptr_t>(entry_point); in ToDexPc() 52 << "(PC " << reinterpret_cast<void*>(pc) << ", entry_point=" << entry_point in ToDexPc()
|
D | native_stack_dump.cc | 297 static bool PcIsWithinQuickCode(ArtMethod* method, uintptr_t pc) NO_THREAD_SAFETY_ANALYSIS { in PcIsWithinQuickCode() argument 300 return pc == 0; in PcIsWithinQuickCode() 310 if (reinterpret_cast<uintptr_t>(GetQuickInstrumentationExitPc()) - pc <= 4) { in PcIsWithinQuickCode() 315 return code <= pc && pc <= (code + code_size); in PcIsWithinQuickCode() 371 it->pc); in DumpNativeStack() 397 PcIsWithinQuickCode(current_method, it->pc)) { in DumpNativeStack() 400 << (it->pc - reinterpret_cast<uint64_t>(start_of_code)); in DumpNativeStack()
|
D | backtrace_helper.cc | 104 out_frames_[num_frames_++] = static_cast<uintptr_t>(it->pc); in CollectImpl() 108 if (RoundUp(it->pc, align) == reinterpret_cast<uintptr_t>(GetQuickInstrumentationExitPc())) { in CollectImpl()
|
D | art_method.cc | 564 const OatQuickMethodHeader* ArtMethod::GetOatQuickMethodHeader(uintptr_t pc) { in GetOatQuickMethodHeader() argument 567 DCHECK_NE(pc, reinterpret_cast<uintptr_t>(GetQuickInstrumentationExitPc())); in GetOatQuickMethodHeader() 592 if (method_header->Contains(pc)) { in GetOatQuickMethodHeader() 598 OatQuickMethodHeader::NterpMethodHeader->Contains(pc)) { in GetOatQuickMethodHeader() 606 OatQuickMethodHeader* method_header = code_cache->LookupMethodHeader(pc, this); in GetOatQuickMethodHeader() 608 DCHECK(method_header->Contains(pc)); in GetOatQuickMethodHeader() 611 DCHECK(!code_cache->ContainsPc(reinterpret_cast<const void*>(pc))) in GetOatQuickMethodHeader() 613 << ", pc=" << std::hex << pc in GetOatQuickMethodHeader() 645 if (pc == 0) { in GetOatQuickMethodHeader() 651 DCHECK(method_header->Contains(pc)) in GetOatQuickMethodHeader() [all …]
|
D | stack.cc | 97 uint32_t pc = header->NativeQuickPcOffset(cur_quick_frame_pc_); in GetCurrentStackMap() local 99 GetCurrentInlineInfo()->GetStackMapForNativePcOffset(pc)); in GetCurrentStackMap() 676 static void AssertPcIsWithinQuickCode(ArtMethod* method, uintptr_t pc) in AssertPcIsWithinQuickCode() argument 682 if (pc == reinterpret_cast<uintptr_t>(GetQuickInstrumentationExitPc())) { in AssertPcIsWithinQuickCode() 688 runtime->GetJit()->GetCodeCache()->ContainsPc(reinterpret_cast<const void*>(pc))) { in AssertPcIsWithinQuickCode() 709 CHECK(code_start <= pc && pc <= (code_start + code_size)) in AssertPcIsWithinQuickCode() 711 << " pc=" << std::hex << pc in AssertPcIsWithinQuickCode()
|
/art/compiler/debug/ |
D | elf_debug_line_writer.h | 98 const uint32_t pc = stack_map.GetNativePcOffset(isa); in WriteCompilationUnit() local 100 pc2dex_map.push_back({pc, dex}); in WriteCompilationUnit() 103 prologue_end = std::min(prologue_end, pc); in WriteCompilationUnit() 223 uint32_t pc = pc2dex.from_; in WriteCompilationUnit() local 234 if (dex2line != dex2line_map.begin() && pc >= prologue_end) { in WriteCompilationUnit() 238 if (pc > 0) { in WriteCompilationUnit() 247 opcodes.AddRow(method_address + pc, line); in WriteCompilationUnit() 250 opcodes.AddRow(method_address + pc, line); in WriteCompilationUnit()
|
/art/compiler/debug/dwarf/ |
D | dwarf_test.cc | 47 int pc = 0; in TEST_F() local 49 pc += i; in TEST_F() 50 opcodes.AdvancePC(pc); in TEST_F() 254 uint32_t pc = 0x01000000; in TEST_F() local 257 opcodes.SetAddress(pc); in TEST_F() 266 pc += addr_delta; in TEST_F() 268 opcodes.AddRow(pc, line); in TEST_F() 270 ASSERT_EQ(opcodes.CurrentAddress(), pc); in TEST_F() 273 sprintf(expected, "0x%016x %6i 0 1 0 0", pc, line); in TEST_F()
|
/art/test/566-polymorphic-inlining/ |
D | polymorphic_inline.cc | 39 const void* pc = method->GetEntryPointFromQuickCompiledCode(); in do_checks() local 40 if (code_cache->ContainsPc(pc)) { in do_checks() 41 header = OatQuickMethodHeader::FromEntryPoint(pc); in do_checks()
|
/art/compiler/utils/ |
D | assembler.cc | 96 uint32_t pc = dchecked_integral_cast<uint32_t>(assembler_->CodeSize()); in ImplicitlyAdvancePC() local 99 delayed_advance_pcs_.push_back(DelayedAdvancePC {stream_pos, pc}); in ImplicitlyAdvancePC() 101 AdvancePC(pc); in ImplicitlyAdvancePC()
|
D | assembler.h | 290 uint32_t pc; member 314 void OverrideDelayedPC(size_t pc) { in OverrideDelayedPC() argument 318 delayed_advance_pcs_.back().pc = pc; in OverrideDelayedPC()
|
/art/compiler/utils/x86/ |
D | constants_x86.h | 106 static Instr* At(uintptr_t pc) { return reinterpret_cast<Instr*>(pc); } in At() argument
|
/art/test/680-checker-deopt-dex-pc-0/ |
D | info.txt | 1 Regression test for deoptimization at dex pc 0 causing infinite recursion
|
D | Android.bp | 3 name: "art-run-test-680-checker-deopt-dex-pc-0",
|
/art/test/638-no-line-number/ |
D | info.txt | 1 Test for b/30183883, that we emit the dex pc when the line number is missing.
|
/art/compiler/trampolines/ |
D | trampoline_compiler.cc | 55 using vixl::aarch32::pc; in CreateTrampoline() 61 ___ Ldr(pc, MemOperand(r0, offset.Int32Value())); in CreateTrampoline() 70 ___ Ldr(pc, MemOperand(temp_reg, offset.Int32Value())); in CreateTrampoline() 74 ___ Ldr(pc, MemOperand(tr, offset.Int32Value())); in CreateTrampoline()
|
/art/compiler/dex/ |
D | verified_method.cc | 53 bool VerifiedMethod::IsSafeCast(uint32_t pc) const { in IsSafeCast() 57 return std::binary_search(safe_cast_set_->begin(), safe_cast_set_->end(), pc); in IsSafeCast()
|
D | verified_method.h | 52 bool IsSafeCast(uint32_t pc) const;
|
/art/compiler/utils/x86_64/ |
D | constants_x86_64.h | 133 static Instr* At(uintptr_t pc) { return reinterpret_cast<Instr*>(pc); } in At() argument
|
/art/runtime/arch/arm/ |
D | fault_handler_arm.cc | 41 static uint32_t GetInstructionSize(uint8_t* pc) { in GetInstructionSize() argument 42 uint16_t instr = pc[0] | pc[1] << 8; in GetInstructionSize()
|
/art/disassembler/ |
D | disassembler_arm.cc | 38 using vixl::aarch32::pc; 88 DCHECK(!operand.GetBaseRegister().Is(pc)); in operator <<() 102 DCHECK(!operand.GetBaseRegister().Is(pc)); in operator <<()
|
/art/openjdkjvmti/ |
D | ti_breakpoint.cc | 58 JvmtiBreakpointReflectionSource(size_t pc, art::ArtMethod* m) in JvmtiBreakpointReflectionSource() argument 60 pc_(pc), in JvmtiBreakpointReflectionSource()
|