/art/runtime/arch/x86/ |
H A D | fault_handler_x86.cc | 93 static uint32_t GetInstructionSize(const uint8_t* pc) { argument 100 const uint8_t* startpc = pc; 102 uint8_t opcode = *pc++; 134 opcode = *pc++; 144 opcode = *pc++; 150 opcode = *pc++; 163 modrm = *pc++; 182 modrm = *pc++; 189 modrm = *pc++; 196 modrm = *pc 277 uint8_t* pc = reinterpret_cast<uint8_t*>(uc->CTX_EIP); local 297 uint8_t* pc = reinterpret_cast<uint8_t*>(uc->CTX_EIP); local 355 uint8_t* pc = reinterpret_cast<uint8_t*>(uc->CTX_EIP); local [all...] |
/art/runtime/interpreter/mterp/arm/ |
H A D | op_float_to_long.S | 20 popne {r4, pc} 28 popne {r4, pc} 35 popeq {r4, pc} 39 ldmfd sp!, {r4, pc}
|
H A 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
|
H A D | header.S | 45 r15 (pc) can be tinkered with directly 122 * NOTE: the fast interpreter keeps track of dex pc as a direct pointer to the mapped 123 * dex byte codes. However, the rest of the runtime expects dex pc to be an instruction 125 * current dex pc as a direct pointer using the EXPORT_PC macro, and rely on GetDexPC 126 * to convert to a dex pc when needed. 242 add pc, rIBASE, \reg, lsl #${handler_size_bits} 245 add pc, \base, \reg, lsl #${handler_size_bits}
|
H A D | op_double_to_long.S | 52 ldmfd sp!, {r4, r5, pc}
|
/art/runtime/arch/arm64/ |
H A D | fault_handler_arm64.cc | 53 sc->pc = reinterpret_cast<uintptr_t>(longjmp); 81 VLOG(signals) << "pc: " << std::hex 82 << static_cast<void*>(reinterpret_cast<uint8_t*>(sc->pc)); 84 *out_return_pc = sc->pc + 4; 96 sc->regs[30] = sc->pc + 4; // LR needs to point to gc map location 98 sc->pc = reinterpret_cast<uintptr_t>(art_quick_throw_null_pointer_exception); 120 uint8_t* ptr2 = reinterpret_cast<uint8_t*>(sc->pc); 151 sc->regs[30] = sc->pc + 4; 152 sc->pc = reinterpret_cast<uintptr_t>(art_quick_implicit_suspend); 191 sc->pc [all...] |
/art/runtime/ |
H A D | oat_quick_method_header.h | 56 uintptr_t NativeQuickPcOffset(const uintptr_t pc) const { 57 return pc - reinterpret_cast<uintptr_t>(GetEntryPoint()); 87 bool Contains(uintptr_t pc) const { 91 // On Thumb-2, the pc is offset by one. 94 return code_start <= pc && pc <= (code_start + code_size_); 126 uint32_t ToDexPc(ArtMethod* method, const uintptr_t pc, bool abort_on_failure = true) const;
|
H A D | oat_quick_method_header.cc | 38 const uintptr_t pc, 41 uint32_t sought_offset = pc - reinterpret_cast<uintptr_t>(entry_point); 57 << "(PC " << reinterpret_cast<void*>(pc) << ", entry_point=" << entry_point 71 // Search for the dex-to-pc mapping in stack maps. 87 LOG(FATAL) << "Failed to find native offset for dex pc 0x" << std::hex << dex_pc 37 ToDexPc(ArtMethod* method, const uintptr_t pc, bool abort_on_failure) const argument
|
H A D | monitor_android.cc | 80 uint32_t pc; local 81 ArtMethod* m = self->GetCurrentMethod(&pc); 84 TranslateLocation(m, pc, &filename, &line_number);
|
H A D | art_method.cc | 371 const OatQuickMethodHeader* ArtMethod::GetOatQuickMethodHeader(uintptr_t pc) { argument 372 // Our callers should make sure they don't pass the instrumentation exit pc, 374 DCHECK_NE(pc, reinterpret_cast<uintptr_t>(GetQuickInstrumentationExitPc())); 396 // Check whether the current entry point contains this pc. 402 if (method_header->Contains(pc)) { 407 // Check whether the pc is in the JIT code cache. 411 OatQuickMethodHeader* method_header = code_cache->LookupMethodHeader(pc, this); 413 DCHECK(method_header->Contains(pc)); 416 DCHECK(!code_cache->ContainsPc(reinterpret_cast<const void*>(pc))) 418 << ", pc [all...] |
/art/compiler/utils/mips64/ |
H A D | constants_mips64.h | 76 // Use the At(pc) function to create references to Instr. 77 static Instr* At(uintptr_t pc) { return reinterpret_cast<Instr*>(pc); } argument
|
/art/compiler/debug/ |
H A D | elf_debug_line_writer.h | 99 // Use stack maps to create mapping table from pc to dex. 106 const uint32_t pc = stack_map.GetNativePcOffset(encoding.stack_map_encoding); local 108 pc2dex_map.push_back({pc, dex}); 111 prologue_end = std::min(prologue_end, pc); 226 uint32_t pc = pc2dex.from_; local 228 // Find mapping with address with is greater than our dex pc; then go back one step. 237 if (dex2line != dex2line_map.begin() && pc >= prologue_end) { 241 if (pc > 0) { 250 opcodes.AddRow(method_address + pc, line); 253 opcodes.AddRow(method_address + pc, lin [all...] |
/art/compiler/utils/mips/ |
H A D | constants_mips.h | 100 // Use the At(pc) function to create references to Instr. 101 static Instr* At(uintptr_t pc) { return reinterpret_cast<Instr*>(pc); } argument
|
/art/compiler/utils/x86/ |
H A D | constants_x86.h | 117 // Use the At(pc) function to create references to Instr. 118 static Instr* At(uintptr_t pc) { return reinterpret_cast<Instr*>(pc); } argument
|
/art/runtime/interpreter/mterp/mips/ |
H A D | op_filled_new_array.S | 14 JAL($helper) # v0 <- helper(shadow_frame, pc, self)
|
/art/compiler/debug/dwarf/ |
H A D | dwarf_test.cc | 48 int pc = 0; local 50 pc += i; 51 opcodes.AdvancePC(pc); 147 DW_CHECK("FDE cie=00000000 pc=100000000000000..300000000000000"); 252 uint32_t pc = 0x01000000; local 255 opcodes.SetAddress(pc); 264 pc += addr_delta; 266 opcodes.AddRow(pc, line); 268 ASSERT_EQ(opcodes.CurrentAddress(), pc); 271 sprintf(expected, "%i 0x%x", line, pc); [all...] |
/art/compiler/utils/x86_64/ |
H A D | constants_x86_64.h | 126 // Use the At(pc) function to create references to Instr. 127 static Instr* At(uintptr_t pc) { return reinterpret_cast<Instr*>(pc); } argument
|
/art/compiler/dex/ |
H A D | verified_method.h | 62 // no entry for that dex pc. 67 bool IsSafeCast(uint32_t pc) const;
|
H A D | verified_method.cc | 81 bool VerifiedMethod::IsSafeCast(uint32_t pc) const { 82 return std::binary_search(safe_cast_set_.begin(), safe_cast_set_.end(), pc);
|
/art/test/004-SignalTest/ |
H A D | signaltest.cc | 64 sc->pc += 4; // Skip instruction causing segv.
|
/art/compiler/utils/ |
H A D | assembler.cc | 115 uint32_t pc = dchecked_integral_cast<uint32_t>(assembler_->CodeSize()); local 118 delayed_advance_pcs_.push_back(DelayedAdvancePC {stream_pos, pc}); 120 AdvancePC(pc);
|
H A D | assembler.h | 288 uint32_t pc; member in struct:art::FINAL::DelayedAdvancePC 312 void OverrideDelayedPC(size_t pc) { argument 315 delayed_advance_pcs_.back().pc = pc;
|
/art/runtime/arch/arm/ |
H A D | fault_handler_arm.cc | 42 static uint32_t GetInstructionSize(uint8_t* pc) { argument 43 uint16_t instr = pc[0] | pc[1] << 8; 97 VLOG(signals) << "pc: " << std::hex << static_cast<void*>(ptr); 181 VLOG(signals) << "arm pc: " << std::hex << sc->arm_pc;
|
H A D | asm_support_arm.S | 43 add \rDest, pc @ Fixup GOT address.
|
/art/compiler/utils/arm/ |
H A D | constants_arm.h | 442 // Use the At(pc) function to create references to Instr. 443 static Instr* At(uintptr_t pc) { return reinterpret_cast<Instr*>(pc); } argument
|