/art/runtime/arch/x86/ |
D | fault_handler_x86.cc | 81 static uint32_t GetInstructionSize(const uint8_t* pc, size_t bytes) { in GetInstructionSize() argument 88 ++pc; \ in GetInstructionSize() 91 #define FETCH_BYTE(var) FETCH_OR_SKIP_BYTE((var) = *pc) in GetInstructionSize() 100 const uint8_t* startpc = pc; in GetInstructionSize() 252 pc += displacement_size + immediate_size; in GetInstructionSize() 254 VLOG(signals) << "x86 instruction length calculated as " << (pc - startpc); in GetInstructionSize() 255 return pc - startpc; in GetInstructionSize() 299 uintptr_t pc = uc->CTX_EIP; in Action() local 300 const OatQuickMethodHeader* method_header = method->GetOatQuickMethodHeader(pc); in Action() 305 const uint8_t* pc_ptr = reinterpret_cast<const uint8_t*>(pc); in Action() [all …]
|
/art/test/680-checker-deopt-dex-pc-0/ |
D | Android.bp | 3 // Build rules for ART run-test `680-checker-deopt-dex-pc-0`. 16 name: "art-run-test-680-checker-deopt-dex-pc-0", 21 ":art-run-test-680-checker-deopt-dex-pc-0-expected-stdout", 22 ":art-run-test-680-checker-deopt-dex-pc-0-expected-stderr", 31 name: "art-run-test-680-checker-deopt-dex-pc-0-expected-stdout", 32 out: ["art-run-test-680-checker-deopt-dex-pc-0-expected-stdout.txt"], 39 name: "art-run-test-680-checker-deopt-dex-pc-0-expected-stderr", 40 out: ["art-run-test-680-checker-deopt-dex-pc-0-expected-stderr.txt"],
|
D | info.txt | 1 Regression test for deoptimization at dex pc 0 causing infinite recursion
|
/art/runtime/arch/arm64/ |
D | fault_handler_arm64.cc | 56 return mc->pc; in GetFaultPc() 80 uintptr_t return_pc = mc->pc + 4u; in Action() 91 mc->pc = reinterpret_cast<uintptr_t>(art_quick_throw_null_pointer_exception_from_signal); in Action() 108 uint32_t inst = *reinterpret_cast<uint32_t*>(mc->pc); in Action() 120 mc->regs[30] = mc->pc + 4; in Action() 122 mc->pc = reinterpret_cast<uintptr_t>(art_quick_implicit_suspend); in Action() 160 mc->pc = reinterpret_cast<uintptr_t>(art_quick_throw_stack_overflow); in Action()
|
/art/runtime/ |
D | oat_quick_method_header.h | 47 static bool IsNterpPc(uintptr_t pc) { in IsNterpPc() argument 49 OatQuickMethodHeader::NterpMethodHeader->Contains(pc); in IsNterpPc() 72 uintptr_t NativeQuickPcOffset(const uintptr_t pc) const { in NativeQuickPcOffset() argument 73 return pc - reinterpret_cast<uintptr_t>(GetEntryPoint()); in NativeQuickPcOffset() 115 bool Contains(uintptr_t pc) const { in Contains() argument 125 return code_start <= pc && pc <= (code_start + GetCodeSize()); in Contains() 176 const uintptr_t pc,
|
D | monitor_android.cc | 73 uint32_t pc; in LogContentionEvent() local 74 ArtMethod* m = self->GetCurrentMethod(&pc); in LogContentionEvent() 75 TranslateLocation(m, pc, &filename, &line_number); in LogContentionEvent()
|
D | oat_quick_method_header.cc | 31 const uintptr_t pc, in ToDexPc() argument 35 uint32_t sought_offset = pc - reinterpret_cast<uintptr_t>(entry_point); in ToDexPc() 51 << "(PC " << reinterpret_cast<void*>(pc) << ", entry_point=" << entry_point in ToDexPc()
|
D | art_method.cc | 587 const OatQuickMethodHeader* ArtMethod::GetOatQuickMethodHeader(uintptr_t pc) { in GetOatQuickMethodHeader() argument 607 DCHECK_NE(pc, 0u) << "PC 0 for " << PrettyMethod(); in GetOatQuickMethodHeader() 617 if (method_header->Contains(pc)) { in GetOatQuickMethodHeader() 622 if (OatQuickMethodHeader::IsNterpPc(pc)) { in GetOatQuickMethodHeader() 630 OatQuickMethodHeader* method_header = code_cache->LookupMethodHeader(pc, this); in GetOatQuickMethodHeader() 632 DCHECK(method_header->Contains(pc)); in GetOatQuickMethodHeader() 635 DCHECK(!code_cache->ContainsPc(reinterpret_cast<const void*>(pc))) in GetOatQuickMethodHeader() 637 << ", pc=" << std::hex << pc in GetOatQuickMethodHeader() 657 << " pc: " << reinterpret_cast<const void*>(pc); in GetOatQuickMethodHeader() 671 if (IsNative() && !method_header->Contains(pc)) { in GetOatQuickMethodHeader() [all …]
|
D | native_stack_dump.cc | 376 os << StringPrintf("%08" PRIx64 " ???", frame.pc); in DumpNativeStack() 403 const OatQuickMethodHeader* header = current_method->GetOatQuickMethodHeader(frame.pc); in DumpNativeStack() 407 << (frame.pc - reinterpret_cast<uint64_t>(start_of_code)); in DumpNativeStack()
|
D | stack_map.cc | 83 StackMap CodeInfo::GetStackMapForNativePcOffset(uintptr_t pc, InstructionSet isa) const { in GetStackMapForNativePcOffset() argument 84 uint32_t packed_pc = StackMap::PackNativePc(pc, isa); in GetStackMapForNativePcOffset() 93 for (; it != stack_maps_.end() && (*it).GetNativePcOffset(isa) == pc; ++it) { in GetStackMapForNativePcOffset()
|
/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() 41 OatQuickMethodHeader::FromEntryPoint(pc)->GetOptimizedCodeInfoPtr())) { in do_checks() 42 header = OatQuickMethodHeader::FromEntryPoint(pc); in do_checks()
|
/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() 251 uint32_t pc = 0x01000000; in TEST_F() local 254 opcodes.SetAddress(pc); in TEST_F() 263 pc += addr_delta; in TEST_F() 265 opcodes.AddRow(pc, line); in TEST_F() 267 ASSERT_EQ(opcodes.CurrentAddress(), pc); in TEST_F() 270 sprintf(expected, "0x%016x %6i 0 1 0 0", pc, line); in TEST_F()
|
/art/compiler/debug/ |
D | elf_debug_line_writer.h | 100 const uint32_t pc = stack_map.GetNativePcOffset(isa); in WriteCompilationUnit() local 102 pc2dex_map.push_back({pc, dex}); in WriteCompilationUnit() 105 prologue_end = std::min(prologue_end, pc); in WriteCompilationUnit() 225 uint32_t pc = pc2dex.from_; in WriteCompilationUnit() local 236 if (dex2line != dex2line_map.begin() && pc >= prologue_end) { in WriteCompilationUnit() 240 if (pc > 0) { in WriteCompilationUnit() 249 opcodes.AddRow(method_address + pc, line); in WriteCompilationUnit() 252 opcodes.AddRow(method_address + pc, line); in WriteCompilationUnit()
|
/art/compiler/utils/ |
D | assembler.cc | 96 uint32_t pc = dchecked_integral_cast<uint32_t>(assembler_->CodeSize()); in ImplicitlyAdvancePC() local 99 delayed_advance_pcs_.push_back(DelayedAdvancePC {stream_pos, pc}); in ImplicitlyAdvancePC() 101 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/x86/ |
D | constants_x86.h | 99 static Instr* At(uintptr_t pc) { return reinterpret_cast<Instr*>(pc); } in At() argument
|
/art/compiler/trampolines/ |
D | trampoline_compiler.cc | 55 using vixl::aarch32::pc; in CreateTrampoline() 61 ___ Ldr(pc, MemOperand(r0, offset.Int32Value())); in CreateTrampoline() 70 ___ Ldr(pc, MemOperand(temp_reg, offset.Int32Value())); in CreateTrampoline() 74 ___ Ldr(pc, MemOperand(tr, offset.Int32Value())); in CreateTrampoline()
|
/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/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()
|
D | memcmp16_arm.S | 153 pop {r4, pc} 163 pop {r4, pc} 174 pop {r4, pc}
|
/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/disassembler/ |
D | disassembler_arm.cc | 38 using vixl::aarch32::pc; 104 DCHECK(!operand.GetBaseRegister().Is(pc)); in operator <<() 118 DCHECK(!operand.GetBaseRegister().Is(pc)); in operator <<()
|
/art/runtime/jit/ |
D | jit_code_cache.h | 129 const void* GetCodeFor(ArtMethod* method, uintptr_t pc = 0) const; 227 bool ContainsPc(const void* pc) const; 230 bool PrivateRegionContainsPc(const void* pc) const; 292 OatQuickMethodHeader* LookupMethodHeader(uintptr_t pc, ArtMethod* method)
|
D | jit_code_cache.cc | 1406 OatQuickMethodHeader* JitCodeCache::LookupMethodHeader(uintptr_t pc, ArtMethod* method) { in LookupMethodHeader() argument 1410 --pc; in LookupMethodHeader() 1412 if (!ContainsPc(reinterpret_cast<const void*>(pc))) { in LookupMethodHeader() 1433 if (!method_header->Contains(pc)) { in LookupMethodHeader() 1437 if (shared_region_.IsInExecSpace(reinterpret_cast<const void*>(pc))) { in LookupMethodHeader() 1438 const void* code_ptr = zygote_map_.GetCodeFor(method, pc); in LookupMethodHeader() 1443 auto it = method_code_map_.lower_bound(reinterpret_cast<const void*>(pc)); in LookupMethodHeader() 1447 if (OatQuickMethodHeader::FromCodePointer(code_ptr)->Contains(pc)) { in LookupMethodHeader() 1458 OatQuickMethodHeader::FromCodePointer(data.GetCode())->Contains(pc)) { in LookupMethodHeader() 1472 << std::hex << pc; in LookupMethodHeader() [all …]
|
/art/openjdkjvmti/ |
D | ti_breakpoint.cc | 58 JvmtiBreakpointReflectionSource(size_t pc, art::ArtMethod* m) in JvmtiBreakpointReflectionSource() argument 60 pc_(pc), in JvmtiBreakpointReflectionSource()
|