Home
last modified time | relevance | path

Searched refs:pc (Results 1 – 25 of 30) sorted by relevance

12

/art/runtime/arch/x86/
Dfault_handler_x86.cc92 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/
Dfault_handler_arm64.cc51 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/
Dmonitor_android.cc80 uint32_t pc; in LogContentionEvent() local
81 mirror::ArtMethod* m = self->GetCurrentMethod(&pc); in LogContentionEvent()
84 TranslateLocation(m, pc, &filename, &line_number); in LogContentionEvent()
Dutils.cc1093 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()
Dmonitor.h186 void TranslateLocation(mirror::ArtMethod* method, uint32_t pc,
Dstack.h455 void SetTopQuickFramePc(uintptr_t pc) { in SetTopQuickFramePc() argument
457 top_quick_frame_pc_ = pc; in SetTopQuickFramePc()
Dthread.h358 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/
Dconstants_mips.h101 static Instr* At(uintptr_t pc) { return reinterpret_cast<Instr*>(pc); } in At() argument
/art/compiler/utils/x86/
Dconstants_x86.h117 static Instr* At(uintptr_t pc) { return reinterpret_cast<Instr*>(pc); } in At() argument
/art/compiler/utils/x86_64/
Dconstants_x86_64.h125 static Instr* At(uintptr_t pc) { return reinterpret_cast<Instr*>(pc); } in At() argument
/art/runtime/mirror/
Dart_method-inl.h178 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()
Dart_method.h333 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)
Dart_method.cc148 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/
Dfault_handler_arm.cc43 static uint32_t GetInstructionSize(uint8_t* pc) { in GetInstructionSize() argument
44 uint16_t instr = pc[0] | pc[1] << 8; in GetInstructionSize()
Dquick_entrypoints_arm.S462 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/
Dverified_method.h63 bool IsSafeCast(uint32_t pc) const;
Dverified_method.cc75 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/
Dassemble_mips.cc581 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/
Dsignaltest.cc63 sc->pc += 4; // Skip instruction causing segv. in signalhandler()
/art/compiler/utils/arm/
Dconstants_arm.h438 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } in At() argument
Dassembler_arm32.h276 static bool IsInstructionForExceptionHandling(uword pc);
/art/compiler/dex/quick/arm/
Dassemble_arm.cc1260 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/
Dassemble_x86.cc1618 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 …]
Dtarget_x86.cc1612 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/
Dassemble_arm64.cc860 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()

12