/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 | 67 << static_cast<void*>(reinterpret_cast<uint8_t*>(sc->pc)); in GetMethodAndReturnPcAndSp() 69 *out_return_pc = sc->pc + 4; in GetMethodAndReturnPcAndSp() 85 *reinterpret_cast<uintptr_t*>(sc->sp) = sc->pc + 4; in Action() 88 sc->pc = reinterpret_cast<uintptr_t>(art_quick_throw_null_pointer_exception_from_signal); in Action() 111 uint8_t* ptr2 = reinterpret_cast<uint8_t*>(sc->pc); in Action() 142 sc->regs[30] = sc->pc + 4; in Action() 143 sc->pc = reinterpret_cast<uintptr_t>(art_quick_implicit_suspend); in Action() 182 sc->pc = reinterpret_cast<uintptr_t>(art_quick_throw_stack_overflow); in Action()
|
/art/runtime/ |
D | oat_quick_method_header.h | 56 uintptr_t NativeQuickPcOffset(const uintptr_t pc) const { in NativeQuickPcOffset() argument 57 return pc - reinterpret_cast<uintptr_t>(GetEntryPoint()); in NativeQuickPcOffset() 103 bool Contains(uintptr_t pc) const { in Contains() argument 110 return code_start <= pc && pc <= (code_start + GetCodeSize()); in Contains() 143 uint32_t ToDexPc(ArtMethod* method, const uintptr_t pc, bool abort_on_failure = true) const;
|
D | oat_quick_method_header.cc | 28 const uintptr_t pc, in ToDexPc() argument 31 uint32_t sought_offset = pc - reinterpret_cast<uintptr_t>(entry_point); in ToDexPc() 46 << "(PC " << reinterpret_cast<void*>(pc) << ", entry_point=" << entry_point in ToDexPc()
|
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 | 293 static bool PcIsWithinQuickCode(ArtMethod* method, uintptr_t pc) NO_THREAD_SAFETY_ANALYSIS { in PcIsWithinQuickCode() argument 296 return pc == 0; in PcIsWithinQuickCode() 306 if (reinterpret_cast<uintptr_t>(GetQuickInstrumentationExitPc()) - pc <= 4) { in PcIsWithinQuickCode() 311 return code <= pc && pc <= (code + code_size); in PcIsWithinQuickCode() 367 it->pc); in DumpNativeStack() 393 PcIsWithinQuickCode(current_method, it->pc)) { in DumpNativeStack() 396 << (it->pc - reinterpret_cast<uint64_t>(start_of_code)); in DumpNativeStack()
|
D | art_method.cc | 573 const OatQuickMethodHeader* ArtMethod::GetOatQuickMethodHeader(uintptr_t pc) { in GetOatQuickMethodHeader() argument 576 DCHECK_NE(pc, reinterpret_cast<uintptr_t>(GetQuickInstrumentationExitPc())); in GetOatQuickMethodHeader() 601 if (method_header->Contains(pc)) { in GetOatQuickMethodHeader() 610 OatQuickMethodHeader* method_header = code_cache->LookupMethodHeader(pc, this); in GetOatQuickMethodHeader() 612 DCHECK(method_header->Contains(pc)); in GetOatQuickMethodHeader() 615 DCHECK(!code_cache->ContainsPc(reinterpret_cast<const void*>(pc))) in GetOatQuickMethodHeader() 617 << ", pc=" << std::hex << pc in GetOatQuickMethodHeader() 649 if (pc == 0) { in GetOatQuickMethodHeader() 655 DCHECK(method_header->Contains(pc)) in GetOatQuickMethodHeader() 657 << " " << std::hex << pc << " " << oat_entry_point in GetOatQuickMethodHeader()
|
D | backtrace_helper.cc | 76 out_frames_[num_frames_++] = static_cast<uintptr_t>(it->pc); in Collect()
|
/art/compiler/debug/dwarf/ |
D | dwarf_test.cc | 46 int pc = 0; in TEST_F() local 48 pc += i; in TEST_F() 49 opcodes.AdvancePC(pc); in TEST_F() 244 uint32_t pc = 0x01000000; in TEST_F() local 247 opcodes.SetAddress(pc); in TEST_F() 256 pc += addr_delta; in TEST_F() 258 opcodes.AddRow(pc, line); in TEST_F() 260 ASSERT_EQ(opcodes.CurrentAddress(), pc); in TEST_F() 263 sprintf(expected, "%i 0x%x", line, pc); in TEST_F()
|
/art/compiler/debug/ |
D | elf_debug_line_writer.h | 100 const uint32_t pc = stack_map.GetNativePcOffset(isa); in WriteCompilationUnit() local 102 pc2dex_map.push_back({pc, dex}); in WriteCompilationUnit() 105 prologue_end = std::min(prologue_end, pc); in WriteCompilationUnit() 225 uint32_t pc = pc2dex.from_; in WriteCompilationUnit() local 236 if (dex2line != dex2line_map.begin() && pc >= prologue_end) { in WriteCompilationUnit() 240 if (pc > 0) { in WriteCompilationUnit() 249 opcodes.AddRow(method_address + pc, line); in WriteCompilationUnit() 252 opcodes.AddRow(method_address + pc, line); in WriteCompilationUnit()
|
/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 | 291 uint32_t pc; member 315 void OverrideDelayedPC(size_t pc) { in OverrideDelayedPC() argument 319 delayed_advance_pcs_.back().pc = pc; in OverrideDelayedPC()
|
/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/mips64/ |
D | constants_mips64.h | 106 static Instr* At(uintptr_t pc) { return reinterpret_cast<Instr*>(pc); } in At() argument
|
/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/utils/mips/ |
D | constants_mips.h | 131 static Instr* At(uintptr_t pc) { return reinterpret_cast<Instr*>(pc); } in At() argument
|
/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/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/test/680-checker-deopt-dex-pc-0/ |
D | info.txt | 1 Regression test for deoptimization at dex pc 0 causing infinite recursion
|
/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/compiler/utils/x86_64/ |
D | constants_x86_64.h | 130 static Instr* At(uintptr_t pc) { return reinterpret_cast<Instr*>(pc); } in At() argument
|
/art/compiler/trampolines/ |
D | trampoline_compiler.cc | 63 using vixl::aarch32::pc; in CreateTrampoline() 69 ___ Ldr(pc, MemOperand(r0, offset.Int32Value())); in CreateTrampoline() 78 ___ Ldr(pc, MemOperand(temp_reg, offset.Int32Value())); in CreateTrampoline() 82 ___ Ldr(pc, MemOperand(tr, offset.Int32Value())); in CreateTrampoline()
|
/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/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} 737 ldmfd sp!, {r3-r10,fp,pc} @ restore 10 regs and return 748 ldmfd sp!, {r3-r10,fp,pc} @ restore 10 regs and return
|