/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 | 59 uintptr_t NativeQuickPcOffset(const uintptr_t pc) const { in NativeQuickPcOffset() argument 60 return pc - reinterpret_cast<uintptr_t>(GetEntryPoint()); in NativeQuickPcOffset() 136 bool Contains(uintptr_t pc) const { in Contains() argument 143 return code_start <= pc && pc <= (code_start + GetCodeSize()); in Contains() 175 uint32_t ToDexPc(ArtMethod* method, const uintptr_t pc, bool abort_on_failure = true) const;
|
D | native_stack_dump.cc | 272 static bool PcIsWithinQuickCode(ArtMethod* method, uintptr_t pc) NO_THREAD_SAFETY_ANALYSIS { in PcIsWithinQuickCode() argument 276 return pc == 0; in PcIsWithinQuickCode() 279 return code <= pc && pc <= (code + code_size); in PcIsWithinQuickCode() 336 it->pc); in DumpNativeStack() 340 BacktraceMap::GetRelativePc(it->map, it->pc)); in DumpNativeStack() 351 PcIsWithinQuickCode(current_method, it->pc)) { in DumpNativeStack() 354 << (it->pc - reinterpret_cast<uintptr_t>(start_of_code)); in DumpNativeStack() 362 Addr2line(it->map.name, it->pc - it->map.start, os, prefix, &addr2line_state); in DumpNativeStack()
|
D | oat_quick_method_header.cc | 39 const uintptr_t pc, in ToDexPc() argument 42 uint32_t sought_offset = pc - reinterpret_cast<uintptr_t>(entry_point); in ToDexPc() 58 << "(PC " << reinterpret_cast<void*>(pc) << ", entry_point=" << entry_point in ToDexPc()
|
D | monitor_android.cc | 80 uint32_t pc; in LogContentionEvent() local 81 ArtMethod* m = self->GetCurrentMethod(&pc); in LogContentionEvent() 84 TranslateLocation(m, pc, &filename, &line_number); in LogContentionEvent()
|
D | art_method.cc | 601 const OatQuickMethodHeader* ArtMethod::GetOatQuickMethodHeader(uintptr_t pc) { in GetOatQuickMethodHeader() argument 604 DCHECK_NE(pc, reinterpret_cast<uintptr_t>(GetQuickInstrumentationExitPc())); in GetOatQuickMethodHeader() 632 if (method_header->Contains(pc)) { in GetOatQuickMethodHeader() 641 OatQuickMethodHeader* method_header = code_cache->LookupMethodHeader(pc, this); in GetOatQuickMethodHeader() 643 DCHECK(method_header->Contains(pc)); in GetOatQuickMethodHeader() 646 DCHECK(!code_cache->ContainsPc(reinterpret_cast<const void*>(pc))) in GetOatQuickMethodHeader() 648 << ", pc=" << std::hex << pc in GetOatQuickMethodHeader() 663 DCHECK_EQ(pc, 0u) << "Should be a downcall"; in GetOatQuickMethodHeader() 669 DCHECK_EQ(pc, 0u) << "Should be a downcall"; in GetOatQuickMethodHeader() 684 if (pc == 0) { in GetOatQuickMethodHeader() [all …]
|
/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() 252 uint32_t pc = 0x01000000; in TEST_F() local 255 opcodes.SetAddress(pc); in TEST_F() 264 pc += addr_delta; in TEST_F() 266 opcodes.AddRow(pc, line); in TEST_F() 268 ASSERT_EQ(opcodes.CurrentAddress(), pc); in TEST_F() 271 sprintf(expected, "%i 0x%x", line, pc); in TEST_F()
|
/art/compiler/debug/ |
D | elf_debug_line_writer.h | 107 const uint32_t pc = stack_map.GetNativePcOffset(encoding.stack_map.encoding, isa); in WriteCompilationUnit() local 109 pc2dex_map.push_back({pc, dex}); in WriteCompilationUnit() 112 prologue_end = std::min(prologue_end, pc); in WriteCompilationUnit() 227 uint32_t pc = pc2dex.from_; in WriteCompilationUnit() local 238 if (dex2line != dex2line_map.begin() && pc >= prologue_end) { in WriteCompilationUnit() 242 if (pc > 0) { in WriteCompilationUnit() 251 opcodes.AddRow(method_address + pc, line); in WriteCompilationUnit() 254 opcodes.AddRow(method_address + pc, line); in WriteCompilationUnit()
|
/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() 40 header = OatQuickMethodHeader::FromEntryPoint(pc); in do_checks()
|
/art/compiler/utils/ |
D | assembler.cc | 114 uint32_t pc = dchecked_integral_cast<uint32_t>(assembler_->CodeSize()); in ImplicitlyAdvancePC() local 117 delayed_advance_pcs_.push_back(DelayedAdvancePC {stream_pos, pc}); in ImplicitlyAdvancePC() 119 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/mips64/ |
D | constants_mips64.h | 105 static Instr* At(uintptr_t pc) { return reinterpret_cast<Instr*>(pc); } in At() argument
|
/art/compiler/utils/mips/ |
D | constants_mips.h | 101 static Instr* At(uintptr_t pc) { return reinterpret_cast<Instr*>(pc); } in At() argument
|
/art/compiler/utils/x86/ |
D | constants_x86.h | 120 static Instr* At(uintptr_t pc) { return reinterpret_cast<Instr*>(pc); } in At() argument
|
/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/dex/ |
D | verified_method.cc | 51 bool VerifiedMethod::IsSafeCast(uint32_t pc) const { in IsSafeCast() 52 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/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 | 129 static Instr* At(uintptr_t pc) { return reinterpret_cast<Instr*>(pc); } in At() argument
|
/art/runtime/interpreter/mterp/mips/ |
D | op_filled_new_array.S | 14 JAL($helper) # v0 <- helper(shadow_frame, pc, self)
|
/art/compiler/trampolines/ |
D | trampoline_compiler.cc | 62 using vixl::aarch32::pc; in CreateTrampoline() 68 ___ Ldr(pc, MemOperand(r0, offset.Int32Value())); in CreateTrampoline() 77 ___ Ldr(pc, MemOperand(temp_reg, offset.Int32Value())); in CreateTrampoline() 81 ___ Ldr(pc, MemOperand(tr, offset.Int32Value())); in CreateTrampoline()
|
/art/disassembler/ |
D | disassembler_arm.cc | 38 using vixl::aarch32::pc; 90 DCHECK(!operand.GetBaseRegister().Is(pc)); in operator <<() 104 DCHECK(!operand.GetBaseRegister().Is(pc)); in operator <<()
|
/art/runtime/interpreter/mterp/arm/ |
D | header.S | 242 add pc, rIBASE, \reg, lsl #${handler_size_bits} 245 add pc, \base, \reg, lsl #${handler_size_bits}
|
D | footer.S | 284 ldmfd sp!, {r3-r10,fp,pc} @ restore 10 regs and return 295 ldmfd sp!, {r3-r10,fp,pc} @ restore 10 regs and return
|