Searched defs:pc (Results 1 - 21 of 21) sorted by relevance

/art/runtime/
H A Dmonitor_android.cc80 uint32_t pc; local
81 ArtMethod* m = self->GetCurrentMethod(&pc);
84 TranslateLocation(m, pc, &filename, &line_number);
H A Doat_quick_method_header.cc38 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 Dart_method.cc371 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...]
H A Dmonitor.cc163 // Do not abort on dex pc errors. This can easily happen when we want to dump a stack trace on
374 uint32_t pc; local
375 ArtMethod* m = self->GetCurrentMethod(&pc);
378 TranslateLocation(m, pc, &filename, &line_number);
414 uint32_t pc; local
415 ArtMethod* m = self->GetCurrentMethod(&pc);
1200 // Get the dex pc. If abort_on_failure is false, GetDexPc will not abort in the case it cannot
1201 // find the dex pc, and instead return kDexNoIndex. Then bail out, as it indicates we have an
/art/compiler/debug/dwarf/
H A Ddwarf_test.cc48 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/
H A Dassembler.cc115 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 Dassembler.h288 uint32_t pc; member in struct:art::FINAL::DelayedAdvancePC
312 void OverrideDelayedPC(size_t pc) { argument
315 delayed_advance_pcs_.back().pc = pc;
/art/compiler/utils/mips64/
H A Dconstants_mips64.h76 // Use the At(pc) function to create references to Instr.
77 static Instr* At(uintptr_t pc) { return reinterpret_cast<Instr*>(pc); } argument
/art/runtime/arch/arm/
H A Dfault_handler_arm.cc42 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;
/art/compiler/debug/
H A Delf_debug_line_writer.h99 // 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/dex/
H A Ddex_to_dex_compiler.cc41 QuickenedInfo(uint32_t pc, uint16_t index) : dex_pc(pc), dex_member_index(index) {} argument
214 << " at dex pc " << StringPrintf("0x%x", dex_pc) << " in method "
233 << " by replacing it with 2 NOPs at dex pc "
264 << " at dex pc " << StringPrintf("0x%x", dex_pc) << " in method "
300 << " at dex pc " << StringPrintf("0x%x", dex_pc) << " in method "
/art/compiler/utils/mips/
H A Dconstants_mips.h100 // 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_64/
H A Dconstants_x86_64.h126 // Use the At(pc) function to create references to Instr.
127 static Instr* At(uintptr_t pc) { return reinterpret_cast<Instr*>(pc); } argument
/art/runtime/arch/x86/
H A Dfault_handler_x86.cc93 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/gc/
H A Dallocation_record.h60 void SetDexPc(uint32_t pc) { argument
61 dex_pc_ = pc;
/art/compiler/utils/x86/
H A Dconstants_x86.h117 // Use the At(pc) function to create references to Instr.
118 static Instr* At(uintptr_t pc) { return reinterpret_cast<Instr*>(pc); } argument
/art/compiler/optimizing/
H A Dcode_generator.cc196 // Record the dex pc at start of slow path (required for java line number mapping).
712 // CodeGenerator::BuildNativeGCMap ("Missing ref for dex pc 0x")
804 // Ensure stack maps are unique, by checking that the native pc in the stack map
805 // last emitted is different than the native pc of the stack map just emitted.
815 uint32_t pc = GetAssembler()->CodeSize(); local
817 return count > 0 && stack_map_stream_.GetStackMap(count - 1).native_pc_offset == pc;
1084 // If we are from a static path don't record the pc as we can't throw NPE.
1099 // and needs to record the pc.
/art/runtime/jit/
H A Djit_code_cache.cc478 // sees an instrumentation exit pc, so the JIT code of methods in that stack
783 OatQuickMethodHeader* JitCodeCache::LookupMethodHeader(uintptr_t pc, ArtMethod* method) { argument
786 // On Thumb-2, the pc is offset by one.
787 --pc;
789 if (!ContainsPc(reinterpret_cast<const void*>(pc))) {
797 auto it = method_code_map_.lower_bound(reinterpret_cast<const void*>(pc));
802 if (!method_header->Contains(pc)) {
807 << PrettyMethod(method) << " " << PrettyMethod(it->second) << " " << std::hex << pc; local
/art/compiler/utils/arm/
H A Dconstants_arm.h442 // Use the At(pc) function to create references to Instr.
443 static Instr* At(uintptr_t pc) { return reinterpret_cast<Instr*>(pc); } argument
H A Dassembler_thumb2.cc318 size_t final_pc = GetAdjustedPosition(advance.pc);
591 CHECK_NE(rn, PC); // Reserve tst pc instruction for exception handler marker.
597 CHECK_NE(rn, PC); // Reserve teq pc instruction for exception handler marker.
2548 uint32_t pc = buffer_.Size(); local
2562 if (!use32bit && label->IsBound() && pc - label->Position() > kMaxT2BackwardDistance) {
2570 if (!use32bit && label->IsBound() && pc - label->Position() > kMaxT1BackwardDistance) {
2576 FixupId branch_id = AddFixup(Fixup::Branch(pc, branch_type, size, cond));
2592 DCHECK_EQ(buffer_.Size() - pc, GetFixup(branch_id)->GetSizeInBytes());
3873 // ADD pc, ip, reg
/art/disassembler/
H A Ddisassembler_arm.cc142 os << "pc";
439 uintptr_t pc = RoundDown(reinterpret_cast<intptr_t>(instr_ptr) + 4, 4); local
440 uintptr_t lit_adr = U ? pc + imm32 : pc - imm32;
1736 args << Rt << ", [pc, #" << (imm8 << 2) << "]";

Completed in 838 milliseconds