/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/test/680-checker-deopt-dex-pc-0/ |
D | Android.bp | 3 // Build rules for ART run-test `680-checker-deopt-dex-pc-0`. 16 name: "art-run-test-680-checker-deopt-dex-pc-0", 21 ":art-run-test-680-checker-deopt-dex-pc-0-expected-stdout", 22 ":art-run-test-680-checker-deopt-dex-pc-0-expected-stderr", 31 name: "art-run-test-680-checker-deopt-dex-pc-0-expected-stdout", 32 out: ["art-run-test-680-checker-deopt-dex-pc-0-expected-stdout.txt"], 39 name: "art-run-test-680-checker-deopt-dex-pc-0-expected-stderr", 40 out: ["art-run-test-680-checker-deopt-dex-pc-0-expected-stderr.txt"],
|
D | info.txt | 1 Regression test for deoptimization at dex pc 0 causing infinite recursion
|
/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/test/566-polymorphic-inlining/ |
D | polymorphic_inline.cc | 38 const void* pc = method->GetEntryPointFromQuickCompiledCode(); in do_checks() local 39 if (code_cache->ContainsPc(pc) && in do_checks() 41 OatQuickMethodHeader::FromEntryPoint(pc)->GetOptimizedCodeInfoPtr())) { in do_checks() 42 header = OatQuickMethodHeader::FromEntryPoint(pc); in do_checks()
|
/art/runtime/ |
D | oat_quick_method_header.h | 62 uintptr_t NativeQuickPcOffset(const uintptr_t pc) const { in NativeQuickPcOffset() argument 63 return pc - reinterpret_cast<uintptr_t>(GetEntryPoint()); in NativeQuickPcOffset() 105 bool Contains(uintptr_t pc) const { in Contains() argument 113 return code_start <= pc && pc <= (code_start + GetCodeSize()); in Contains() 147 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 | 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 | 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 | backtrace_helper.cc | 125 out_frames_[num_frames_++] = static_cast<uintptr_t>(it->pc); in CollectImpl() 131 if (exit_pc - 4 <= it->pc && it->pc <= exit_pc) { in CollectImpl()
|
D | art_method.cc | 538 const OatQuickMethodHeader* ArtMethod::GetOatQuickMethodHeader(uintptr_t pc) { in GetOatQuickMethodHeader() argument 541 DCHECK_NE(pc, reinterpret_cast<uintptr_t>(GetQuickInstrumentationExitPc())); in GetOatQuickMethodHeader() 566 if (method_header->Contains(pc)) { in GetOatQuickMethodHeader() 572 OatQuickMethodHeader::NterpMethodHeader->Contains(pc)) { in GetOatQuickMethodHeader() 580 OatQuickMethodHeader* method_header = code_cache->LookupMethodHeader(pc, this); in GetOatQuickMethodHeader() 582 DCHECK(method_header->Contains(pc)); in GetOatQuickMethodHeader() 585 DCHECK(!code_cache->ContainsPc(reinterpret_cast<const void*>(pc))) in GetOatQuickMethodHeader() 587 << ", pc=" << std::hex << pc in GetOatQuickMethodHeader() 608 << " pc: " << reinterpret_cast<const void*>(pc); in GetOatQuickMethodHeader() 622 if (pc == 0) { 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() 650 static void AssertPcIsWithinQuickCode(ArtMethod* method, uintptr_t pc) in AssertPcIsWithinQuickCode() argument 656 if (pc == reinterpret_cast<uintptr_t>(GetQuickInstrumentationExitPc())) { in AssertPcIsWithinQuickCode() 662 runtime->GetJit()->GetCodeCache()->ContainsPc(reinterpret_cast<const void*>(pc))) { in AssertPcIsWithinQuickCode() 683 CHECK(code_start <= pc && pc <= (code_start + code_size)) in AssertPcIsWithinQuickCode() 685 << " 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 | 48 int pc = 0; in TEST_F() local 50 pc += i; in TEST_F() 51 opcodes.AdvancePC(pc); in TEST_F() 251 uint32_t pc = 0x01000000; in TEST_F() local 254 opcodes.SetAddress(pc); in TEST_F() 263 pc += addr_delta; in TEST_F() 265 opcodes.AddRow(pc, line); in TEST_F() 267 ASSERT_EQ(opcodes.CurrentAddress(), pc); in TEST_F() 270 sprintf(expected, "0x%016x %6i 0 1 0 0", pc, line); in TEST_F()
|
/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/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/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/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; 104 DCHECK(!operand.GetBaseRegister().Is(pc)); in operator <<() 118 DCHECK(!operand.GetBaseRegister().Is(pc)); in operator <<()
|
/art/runtime/jit/ |
D | jit_code_cache.cc | 1359 OatQuickMethodHeader* JitCodeCache::LookupMethodHeader(uintptr_t pc, ArtMethod* method) { in LookupMethodHeader() argument 1363 --pc; in LookupMethodHeader() 1365 if (!ContainsPc(reinterpret_cast<const void*>(pc))) { in LookupMethodHeader() 1384 if (!method_header->Contains(pc)) { in LookupMethodHeader() 1388 if (shared_region_.IsInExecSpace(reinterpret_cast<const void*>(pc))) { in LookupMethodHeader() 1389 const void* code_ptr = zygote_map_.GetCodeFor(method, pc); in LookupMethodHeader() 1394 auto it = method_code_map_.lower_bound(reinterpret_cast<const void*>(pc)); in LookupMethodHeader() 1398 if (OatQuickMethodHeader::FromCodePointer(code_ptr)->Contains(pc)) { in LookupMethodHeader() 1409 OatQuickMethodHeader::FromCodePointer(data.GetCode())->Contains(pc)) { in LookupMethodHeader() 1423 << std::hex << pc; in LookupMethodHeader() [all …]
|
D | jit_code_cache.h | 129 const void* GetCodeFor(ArtMethod* method, uintptr_t pc = 0) const; 226 bool ContainsPc(const void* pc) const; 229 bool PrivateRegionContainsPc(const void* pc) const; 289 OatQuickMethodHeader* LookupMethodHeader(uintptr_t pc, ArtMethod* method)
|
/art/runtime/interpreter/mterp/arm/ |
D | main.S | 245 add pc, rIBASE, \reg, lsl #${handler_size_bits} 248 add pc, \base, \reg, lsl #${handler_size_bits} 736 ldmfd sp!, {r3-r10,fp,pc} @ restore 10 regs and return 747 ldmfd sp!, {r3-r10,fp,pc} @ restore 10 regs and return
|