/art/runtime/arch/x86/ |
D | fault_handler_x86.cc | 92 static uint32_t GetInstructionSize(const uint8_t* pc) { in GetInstructionSize() argument 99 const uint8_t* startpc = pc; in GetInstructionSize() 101 uint8_t opcode = *pc++; in GetInstructionSize() 130 opcode = *pc++; in GetInstructionSize() 140 opcode = *pc++; in GetInstructionSize() 146 opcode = *pc++; in GetInstructionSize() 159 modrm = *pc++; in GetInstructionSize() 177 modrm = *pc++; in GetInstructionSize() 183 modrm = *pc++; in GetInstructionSize() 189 modrm = *pc++; in GetInstructionSize() [all …]
|
/art/runtime/arch/arm64/ |
D | fault_handler_arm64.cc | 51 sc->pc = reinterpret_cast<uintptr_t>(longjmp); in HandleNestedSignal() 80 << static_cast<void*>(reinterpret_cast<uint8_t*>(sc->pc)); in GetMethodAndReturnPcAndSp() 82 *out_return_pc = sc->pc + 4; in GetMethodAndReturnPcAndSp() 93 sc->regs[30] = sc->pc + 4; // LR needs to point to gc map location in Action() 95 sc->pc = reinterpret_cast<uintptr_t>(art_quick_throw_null_pointer_exception); 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() 186 sc->pc = reinterpret_cast<uintptr_t>(art_quick_throw_stack_overflow); in Action()
|
/art/runtime/ |
D | monitor_android.cc | 80 uint32_t pc; in LogContentionEvent() local 81 mirror::ArtMethod* m = self->GetCurrentMethod(&pc); in LogContentionEvent() 84 TranslateLocation(m, pc, &filename, &line_number); in LogContentionEvent()
|
D | utils.cc | 1093 os << StringPrintf("%08" PRIxPTR " ???", it->pc); in DumpNativeStack() 1095 os << StringPrintf("%08" PRIxPTR " ", it->pc - it->map->start) in DumpNativeStack() 1102 } else if (current_method != nullptr && current_method->IsWithinQuickCode(it->pc)) { in DumpNativeStack() 1105 << (it->pc - reinterpret_cast<uintptr_t>(start_of_code)); in DumpNativeStack()
|
D | monitor.h | 186 void TranslateLocation(mirror::ArtMethod* method, uint32_t pc,
|
D | stack.h | 455 void SetTopQuickFramePc(uintptr_t pc) { in SetTopQuickFramePc() argument 457 top_quick_frame_pc_ = pc; in SetTopQuickFramePc()
|
D | thread.h | 358 void SetTopOfStack(StackReference<mirror::ArtMethod>* top_method, uintptr_t pc) { in SetTopOfStack() argument 360 tlsPtr_.managed_stack.SetTopQuickFramePc(pc); in SetTopOfStack()
|
/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 | 117 static Instr* At(uintptr_t pc) { return reinterpret_cast<Instr*>(pc); } in At() argument
|
/art/compiler/utils/x86_64/ |
D | constants_x86_64.h | 125 static Instr* At(uintptr_t pc) { return reinterpret_cast<Instr*>(pc); } in At() argument
|
/art/runtime/mirror/ |
D | art_method-inl.h | 178 inline void ArtMethod::AssertPcIsWithinQuickCode(uintptr_t pc) { in AssertPcIsWithinQuickCode() argument 185 if (pc == GetQuickInstrumentationExitPc()) { in AssertPcIsWithinQuickCode() 197 DCHECK(IsWithinQuickCode(pc)) in AssertPcIsWithinQuickCode() 199 << " pc=" << std::hex << pc in AssertPcIsWithinQuickCode() 348 inline uintptr_t ArtMethod::NativePcOffset(const uintptr_t pc) { in NativePcOffset() argument 350 return pc - reinterpret_cast<uintptr_t>(code); in NativePcOffset() 353 inline uintptr_t ArtMethod::NativePcOffset(const uintptr_t pc, const void* quick_entry_point) { in NativePcOffset() argument 357 return pc - reinterpret_cast<uintptr_t>(quick_entry_point); in NativePcOffset()
|
D | art_method.h | 333 bool IsWithinQuickCode(uintptr_t pc) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in IsWithinQuickCode() argument 336 return pc == 0; in IsWithinQuickCode() 345 return code <= pc && pc <= code + GetCodeSize(); in IsWithinQuickCode() 348 void AssertPcIsWithinQuickCode(uintptr_t pc) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 475 uintptr_t NativePcOffset(const uintptr_t pc) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 476 uintptr_t NativePcOffset(const uintptr_t pc, const void* quick_entry_point) 480 uint32_t ToDexPc(const uintptr_t pc, bool abort_on_failure = true)
|
D | art_method.cc | 148 uint32_t ArtMethod::ToDexPc(const uintptr_t pc, bool abort_on_failure) { in ToDexPc() argument 151 return static_cast<uint32_t>(pc); in ToDexPc() 162 uint32_t sought_offset = pc - reinterpret_cast<uintptr_t>(entry_point); in ToDexPc() 179 << "(PC " << reinterpret_cast<void*>(pc) << ", entry_point=" << entry_point in ToDexPc()
|
/art/runtime/arch/arm/ |
D | fault_handler_arm.cc | 43 static uint32_t GetInstructionSize(uint8_t* pc) { in GetInstructionSize() argument 44 uint16_t instr = pc[0] | pc[1] << 8; in GetInstructionSize()
|
D | quick_entrypoints_arm.S | 462 pop {r0-r1, pc} 1361 pop {r4, r10-r11, pc} 1367 pop {r4, r10-r11, pc} 1372 pop {r4, r10-r11, pc} 1377 pop {r4, r10-r11, pc} 1381 pop {r4, r10-r11, pc} 1507 pop {r4, r7-r12, pc} 1513 pop {r4, r7-r12, pc} 1526 pop {r4, r7-r12, pc}
|
/art/compiler/dex/ |
D | verified_method.h | 63 bool IsSafeCast(uint32_t pc) const;
|
D | verified_method.cc | 75 bool VerifiedMethod::IsSafeCast(uint32_t pc) const { in IsSafeCast() 76 return std::binary_search(safe_cast_set_.begin(), safe_cast_set_.end(), pc); in IsSafeCast()
|
/art/compiler/dex/quick/mips/ |
D | assemble_mips.cc | 581 CodeOffset pc = lir->offset + 4; in AssembleInstructions() local 583 int delta = target - pc; in AssembleInstructions() 595 CodeOffset pc = lir->offset + 4; in AssembleInstructions() local 597 int delta = target - pc; in AssembleInstructions() 609 CodeOffset pc = lir->offset + 4; in AssembleInstructions() local 611 int delta = target - pc; in AssembleInstructions()
|
/art/test/004-SignalTest/ |
D | signaltest.cc | 63 sc->pc += 4; // Skip instruction causing segv. in signalhandler()
|
/art/compiler/utils/arm/ |
D | constants_arm.h | 438 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } in At() argument
|
D | assembler_arm32.h | 276 static bool IsInstructionForExceptionHandling(uword pc);
|
/art/compiler/dex/quick/arm/ |
D | assemble_arm.cc | 1260 CodeOffset pc = (lir->offset + 4) & ~3; in AssembleLIR() local 1263 int32_t delta = target - pc; in AssembleLIR() 1340 CodeOffset pc = lir->offset + 4; in AssembleLIR() local 1343 int32_t delta = target - pc; in AssembleLIR() 1411 CodeOffset pc = lir->offset + 4; in AssembleLIR() local 1414 delta = target - pc; in AssembleLIR() 1428 CodeOffset pc = lir->offset + 4; in AssembleLIR() local 1431 int32_t delta = target - pc; in AssembleLIR() 1445 CodeOffset pc = lir->offset + 4; in AssembleLIR() local 1448 int32_t delta = target - pc; in AssembleLIR()
|
/art/compiler/dex/quick/x86/ |
D | assemble_x86.cc | 1618 CodeOffset pc; in AssembleInstructions() local 1620 pc = lir->offset + 2 /* opcode + rel8 */; in AssembleInstructions() 1622 pc = lir->offset + 6 /* 2 byte opcode + rel32 */; in AssembleInstructions() 1625 delta = target - pc; in AssembleInstructions() 1650 CodeOffset pc = lir->offset + 6 /* 2 byte opcode + rel32 */; in AssembleInstructions() local 1652 int delta = target - pc; in AssembleInstructions() 1666 CodeOffset pc; in AssembleInstructions() local 1667 pc = lir->offset + 2; // opcode + rel8 in AssembleInstructions() 1669 int delta = target - pc; in AssembleInstructions() 1678 CodeOffset pc; in AssembleInstructions() local [all …]
|
D | target_x86.cc | 1612 uint32_t pc = NEXT_LIR(stack_decrement_)->offset; in ReturnCallFrameInformation() local 1613 AdvanceLoc(*cfi_info, pc); in ReturnCallFrameInformation() 1626 pc += kSpillInstLen; in ReturnCallFrameInformation() 1646 AdvanceLoc(*cfi_info, new_pc - pc); in ReturnCallFrameInformation() 1661 pc = new_pc; in ReturnCallFrameInformation() 1663 AdvanceLoc(*cfi_info, new_pc - pc); in ReturnCallFrameInformation()
|
/art/compiler/dex/quick/arm64/ |
D | assemble_arm64.cc | 860 CodeOffset pc = lir->offset; in AssembleLIR() local 863 int32_t delta = target - pc; in AssembleLIR() 875 CodeOffset pc = lir->offset; in AssembleLIR() local 878 int32_t delta = target - pc; in AssembleLIR()
|