/art/runtime/ |
D | runtime_linux.cc | 149 context(reinterpret_cast<ucontext_t*>(raw_context)->uc_mcontext) { in UContext() 155 DumpRegister32(os, "eax", context->__ss.__eax); in Dump() 156 DumpRegister32(os, "ebx", context->__ss.__ebx); in Dump() 157 DumpRegister32(os, "ecx", context->__ss.__ecx); in Dump() 158 DumpRegister32(os, "edx", context->__ss.__edx); in Dump() 161 DumpRegister32(os, "edi", context->__ss.__edi); in Dump() 162 DumpRegister32(os, "esi", context->__ss.__esi); in Dump() 163 DumpRegister32(os, "ebp", context->__ss.__ebp); in Dump() 164 DumpRegister32(os, "esp", context->__ss.__esp); in Dump() 167 DumpRegister32(os, "eip", context->__ss.__eip); in Dump() [all …]
|
D | fault_handler.h | 47 void HandleFault(int sig, siginfo_t* info, void* context); 48 void HandleNestedSignal(int sig, siginfo_t* info, void* context); 58 void GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, ArtMethod** out_method, 61 bool IsInGeneratedCode(siginfo_t* siginfo, void *context, bool check_dex_pc) 80 virtual bool Action(int sig, siginfo_t* siginfo, void* context) = 0; 93 bool Action(int sig, siginfo_t* siginfo, void* context) OVERRIDE; 103 bool Action(int sig, siginfo_t* siginfo, void* context) OVERRIDE; 113 bool Action(int sig, siginfo_t* siginfo, void* context) OVERRIDE; 123 bool Action(int sig, siginfo_t* siginfo, void* context) OVERRIDE NO_THREAD_SAFETY_ANALYSIS;
|
D | fault_handler.cc | 81 static void art_fault_handler(int sig, siginfo_t* info, void* context) { in art_fault_handler() argument 82 fault_manager.HandleFault(sig, info, context); in art_fault_handler() 86 static void art_nested_signal_handler(int sig, siginfo_t* info, void* context) { in art_nested_signal_handler() argument 87 fault_manager.HandleNestedSignal(sig, info, context); in art_nested_signal_handler() 148 void FaultManager::HandleFault(int sig, siginfo_t* info, void* context) { in HandleFault() argument 154 if (IsInGeneratedCode(info, context, true)) { in HandleFault() 158 if (handler->Action(sig, info, context)) { in HandleFault() 182 InvokeUserSignalHandler(sig, info, context); in HandleFault() 239 if (handler->Action(sig, info, context)) { in HandleFault() 272 InvokeUserSignalHandler(sig, info, context); in HandleFault() [all …]
|
D | debugger.cc | 886 OwnedMonitorVisitor(Thread* thread, Context* context, in GetOwnedMonitors() 890 : StackVisitor(thread, context, StackVisitor::StackWalkKind::kIncludeInlinedFrames), in GetOwnedMonitors() 926 std::unique_ptr<Context> context(Context::Create()); in GetOwnedMonitors() local 927 OwnedMonitorVisitor visitor(thread, context.get(), monitors, stack_depths); in GetOwnedMonitors() 1628 static bool Callback(void* context, uint32_t address, uint32_t line_number) { in OutputLineTable() 1629 DebugCallbackContext* pContext = reinterpret_cast<DebugCallbackContext*>(context); in OutputLineTable() 1656 DebugCallbackContext context; in OutputLineTable() local 1657 context.numItems = 0; in OutputLineTable() 1658 context.pReply = pReply; in OutputLineTable() 1662 DebugCallbackContext::Callback, nullptr, &context); in OutputLineTable() [all …]
|
D | dex_file.cc | 774 LineNumFromPcContext context(rel_pc, -1); in GetLineNumFromPC() local 776 nullptr, &context); in GetLineNumFromPC() 777 return context.line_num_; in GetLineNumFromPC() 815 void* context, const uint8_t* stream, LocalInfo* local_in_reg) in DecodeDebugInfo0() argument 905 InvokeLocalCbIfLive(context, reg, address, local_in_reg, local_cb); in DecodeDebugInfo0() 926 InvokeLocalCbIfLive(context, reg, address, local_in_reg, local_cb); in DecodeDebugInfo0() 966 if (position_cb(context, address, line)) { in DecodeDebugInfo0() 979 void* context) const { in DecodeDebugInfo() 986 DecodeDebugInfo0(code_item, is_static, method_idx, position_cb, local_cb, context, stream, in DecodeDebugInfo() 990 InvokeLocalCbIfLive(context, reg, code_item->insns_size_in_code_units_, &local_in_reg[0], in DecodeDebugInfo() [all …]
|
D | quick_exception_handler.cc | 46 CatchBlockStackVisitor(Thread* self, Context* context, Handle<mirror::Throwable>* exception, in CatchBlockStackVisitor() argument 49 : StackVisitor(self, context, StackVisitor::StackWalkKind::kIncludeInlinedFrames), in CatchBlockStackVisitor() 161 DeoptimizeStackVisitor(Thread* self, Context* context, QuickExceptionHandler* exception_handler) in DeoptimizeStackVisitor() argument 163 : StackVisitor(self, context, StackVisitor::StackWalkKind::kIncludeInlinedFrames), in DeoptimizeStackVisitor()
|
/art/runtime/arch/mips/ |
D | fault_handler_mips.cc | 39 void* context ATTRIBUTE_UNUSED) { in HandleNestedSignal() 42 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, in GetMethodAndReturnPcAndSp() argument 45 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in GetMethodAndReturnPcAndSp() 75 void* context) { in Action() argument 80 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action() 91 void* context ATTRIBUTE_UNUSED) { in Action() 108 bool StackOverflowHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { in Action() argument 109 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in Action()
|
/art/runtime/arch/mips64/ |
D | fault_handler_mips64.cc | 39 void* context ATTRIBUTE_UNUSED) { in HandleNestedSignal() 42 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, in GetMethodAndReturnPcAndSp() argument 45 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in GetMethodAndReturnPcAndSp() 75 void* context) { in Action() argument 80 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action() 91 void* context ATTRIBUTE_UNUSED) { in Action() 108 bool StackOverflowHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { in Action() argument 109 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in Action()
|
/art/runtime/arch/arm64/ |
D | fault_handler_arm64.cc | 42 void* context) { in HandleNestedSignal() argument 46 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in HandleNestedSignal() 56 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo ATTRIBUTE_UNUSED, void* context, in GetMethodAndReturnPcAndSp() argument 59 struct ucontext *uc = reinterpret_cast<struct ucontext *>(context); in GetMethodAndReturnPcAndSp() 88 void* context) { in Action() argument 93 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action() 112 void* context) { in Action() argument 118 struct ucontext *uc = reinterpret_cast<struct ucontext *>(context); in Action() 163 void* context) { in Action() argument 164 struct ucontext *uc = reinterpret_cast<struct ucontext *>(context); in Action()
|
/art/runtime/arch/arm/ |
D | fault_handler_arm.cc | 50 void* context) { in HandleNestedSignal() argument 56 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in HandleNestedSignal() 67 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo ATTRIBUTE_UNUSED, void* context, in GetMethodAndReturnPcAndSp() argument 70 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in GetMethodAndReturnPcAndSp() 111 void* context) { in Action() argument 119 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action() 139 void* context) { in Action() argument 145 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in Action() 209 void* context) { in Action() argument 210 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in Action()
|
/art/test/461-get-reference-vreg/ |
D | get_reference_vreg_jni.cc | 30 TestVisitor(Thread* thread, Context* context, mirror::Object* this_value) in TestVisitor() argument 32 : StackVisitor(thread, context, StackVisitor::StackWalkKind::kIncludeInlinedFrames), in TestVisitor() 72 std::unique_ptr<Context> context(Context::Create()); in Java_Main_doNativeCallRef() local 73 TestVisitor visitor(soa.Self(), context.get(), soa.Decode<mirror::Object*>(value)); in Java_Main_doNativeCallRef() 80 std::unique_ptr<Context> context(Context::Create()); in Java_Main_doStaticNativeCallRef() local 81 TestVisitor visitor(soa.Self(), context.get(), nullptr); in Java_Main_doStaticNativeCallRef()
|
/art/test/004-SignalTest/ |
D | signaltest.cc | 51 void* context) { in signalhandler() argument 58 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in signalhandler() 62 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in signalhandler() 66 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in signalhandler() 69 UNUSED(context); in signalhandler()
|
/art/test/466-get-live-vreg/ |
D | get_live_vreg_jni.cc | 30 TestVisitor(Thread* thread, Context* context) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) in TestVisitor() argument 31 : StackVisitor(thread, context, StackVisitor::StackWalkKind::kIncludeInlinedFrames) {} in TestVisitor() 63 std::unique_ptr<Context> context(Context::Create()); in Java_Main_doStaticNativeCallLiveVreg() local 64 TestVisitor visitor(soa.Self(), context.get()); in Java_Main_doStaticNativeCallLiveVreg()
|
/art/runtime/arch/x86/ |
D | fault_handler_x86.cc | 236 void FaultManager::HandleNestedSignal(int, siginfo_t*, void* context) { in HandleNestedSignal() argument 246 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in HandleNestedSignal() 251 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, in GetMethodAndReturnPcAndSp() argument 254 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in GetMethodAndReturnPcAndSp() 295 bool NullPointerHandler::Action(int, siginfo_t*, void* context) { in Action() argument 296 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action() 335 bool SuspensionHandler::Action(int, siginfo_t*, void* context) { in Action() argument 354 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action() 409 bool StackOverflowHandler::Action(int, siginfo_t* info, void* context) { in Action() argument 410 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action()
|
/art/test/457-regs/ |
D | regs_jni.cc | 30 TestVisitor(Thread* thread, Context* context) in TestVisitor() argument 32 : StackVisitor(thread, context, StackVisitor::StackWalkKind::kIncludeInlinedFrames) {} in TestVisitor() 129 std::unique_ptr<Context> context(Context::Create()); in Java_PhiLiveness_regsNativeCall() local 130 TestVisitor visitor(soa.Self(), context.get()); in Java_PhiLiveness_regsNativeCall() 138 std::unique_ptr<Context> context(Context::Create()); in Java_PhiLiveness_regsNativeCallWithParameters() local 143 TestVisitor visitor(soa.Self(), context.get()); in Java_PhiLiveness_regsNativeCallWithParameters()
|
/art/runtime/gc/space/ |
D | zygote_space.cc | 106 SweepCallbackContext* context = static_cast<SweepCallbackContext*>(arg); in SweepCallback() local 107 DCHECK(context->space->IsZygoteSpace()); in SweepCallback() 108 ZygoteSpace* zygote_space = context->space->AsZygoteSpace(); in SweepCallback() 109 Locks::heap_bitmap_lock_->AssertExclusiveHeld(context->self); in SweepCallback() 113 if (!context->swap_bitmaps) { in SweepCallback()
|
D | malloc_space.cc | 232 SweepCallbackContext* context = static_cast<SweepCallbackContext*>(arg); in SweepCallback() local 233 space::MallocSpace* space = context->space->AsMallocSpace(); in SweepCallback() 234 Thread* self = context->self; in SweepCallback() 238 if (!context->swap_bitmaps) { in SweepCallback() 247 context->freed.objects += num_ptrs; in SweepCallback() 248 context->freed.bytes += space->FreeList(self, num_ptrs, ptrs); in SweepCallback()
|
D | large_object_space.cc | 577 SweepCallbackContext* context = static_cast<SweepCallbackContext*>(arg); in SweepCallback() local 578 space::LargeObjectSpace* space = context->space->AsLargeObjectSpace(); in SweepCallback() 579 Thread* self = context->self; in SweepCallback() 583 if (!context->swap_bitmaps) { in SweepCallback() 589 context->freed.objects += num_ptrs; in SweepCallback() 590 context->freed.bytes += space->FreeList(self, num_ptrs, ptrs); in SweepCallback()
|
/art/test/455-set-vreg/ |
D | set_vreg_jni.cc | 30 TestVisitor(Thread* thread, Context* context, mirror::Object* this_value) in TestVisitor() argument 32 : StackVisitor(thread, context, StackVisitor::StackWalkKind::kIncludeInlinedFrames), in TestVisitor() 89 std::unique_ptr<Context> context(Context::Create()); in Java_Main_doNativeCallSetVReg() local 90 TestVisitor visitor(soa.Self(), context.get(), soa.Decode<mirror::Object*>(value)); in Java_Main_doNativeCallSetVReg()
|
/art/test/454-get-vreg/ |
D | get_vreg_jni.cc | 30 TestVisitor(Thread* thread, Context* context, mirror::Object* this_value) in TestVisitor() argument 32 : StackVisitor(thread, context, StackVisitor::StackWalkKind::kIncludeInlinedFrames), in TestVisitor() 116 std::unique_ptr<Context> context(Context::Create()); in Java_Main_doNativeCall() local 117 TestVisitor visitor(soa.Self(), context.get(), soa.Decode<mirror::Object*>(value)); in Java_Main_doNativeCall()
|
/art/runtime/native/ |
D | org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 85 static void ThreadCountCallback(Thread*, void* context) { in ThreadCountCallback() argument 86 uint16_t& count = *reinterpret_cast<uint16_t*>(context); in ThreadCountCallback() 93 static void ThreadStatsGetterCallback(Thread* t, void* context) { in ThreadStatsGetterCallback() argument 121 std::vector<uint8_t>& bytes = *reinterpret_cast<std::vector<uint8_t>*>(context); in ThreadStatsGetterCallback()
|
/art/sigchainlib/ |
D | sigchain.cc | 123 static void sigchainlib_managed_handler_sigaction(int sig, siginfo_t* info, void* context) { in sigchainlib_managed_handler_sigaction() argument 124 InvokeUserSignalHandler(sig, info, context); in sigchainlib_managed_handler_sigaction() 141 extern "C" void InvokeUserSignalHandler(int sig, siginfo_t* info, void* context) { in InvokeUserSignalHandler() argument 154 if (managed(sig, info, context)) { in InvokeUserSignalHandler() 169 action.sa_sigaction(sig, info, context); in InvokeUserSignalHandler()
|
D | sigchain.h | 33 extern "C" void InvokeUserSignalHandler(int sig, siginfo_t* info, void* context);
|
D | sigchain_dummy.cc | 65 void* context ATTRIBUTE_UNUSED) { in InvokeUserSignalHandler()
|
/art/test/115-native-bridge/ |
D | nativebridge.cc | 189 void* context ATTRIBUTE_UNUSED) { in test_sigaction_handler() 386 static bool nb_signalhandler(int sig, siginfo_t* info ATTRIBUTE_UNUSED, void* context) { in nb_signalhandler() argument 389 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in nb_signalhandler() 393 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in nb_signalhandler() 397 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in nb_signalhandler() 400 UNUSED(context); in nb_signalhandler()
|