/art/runtime/ |
D | runtime_linux.cc | 135 …explicit UContext(void* raw_context) : context(reinterpret_cast<ucontext_t*>(raw_context)->uc_mcon… in UContext() 140 DumpRegister32(os, "eax", context->__ss.__eax); in Dump() 141 DumpRegister32(os, "ebx", context->__ss.__ebx); in Dump() 142 DumpRegister32(os, "ecx", context->__ss.__ecx); in Dump() 143 DumpRegister32(os, "edx", context->__ss.__edx); in Dump() 146 DumpRegister32(os, "edi", context->__ss.__edi); in Dump() 147 DumpRegister32(os, "esi", context->__ss.__esi); in Dump() 148 DumpRegister32(os, "ebp", context->__ss.__ebp); in Dump() 149 DumpRegister32(os, "esp", context->__ss.__esp); in Dump() 152 DumpRegister32(os, "eip", context->__ss.__eip); in Dump() [all …]
|
D | fault_handler.h | 45 void HandleFault(int sig, siginfo_t* info, void* context); 46 void HandleNestedSignal(int sig, siginfo_t* info, void* context); 54 void GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, mirror::ArtMethod** out_method, 57 bool IsInGeneratedCode(siginfo_t* siginfo, void *context, bool check_dex_pc) 76 virtual bool Action(int sig, siginfo_t* siginfo, void* context) = 0; 89 bool Action(int sig, siginfo_t* siginfo, void* context) OVERRIDE; 99 bool Action(int sig, siginfo_t* siginfo, void* context) OVERRIDE; 109 bool Action(int sig, siginfo_t* siginfo, void* context) OVERRIDE; 119 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() 138 void FaultManager::HandleFault(int sig, siginfo_t* info, void* context) { in HandleFault() argument 144 if (IsInGeneratedCode(info, context, true)) { in HandleFault() 148 if (handler->Action(sig, info, context)) { in HandleFault() 167 if (handler->Action(sig, info, context)) { in HandleFault() 176 InvokeUserSignalHandler(sig, info, context); in HandleFault() 203 bool FaultManager::IsInGeneratedCode(siginfo_t* siginfo, void* context, bool check_dex_pc) { in IsInGeneratedCode() argument [all …]
|
D | dex_file.cc | 722 LineNumFromPcContext context(rel_pc, -1); in GetLineNumFromPC() local 724 NULL, &context); in GetLineNumFromPC() 725 return context.line_num_; in GetLineNumFromPC() 763 void* context, const byte* stream, LocalInfo* local_in_reg) const { in DecodeDebugInfo0() argument 852 InvokeLocalCbIfLive(context, reg, address, local_in_reg, local_cb); in DecodeDebugInfo0() 873 InvokeLocalCbIfLive(context, reg, address, local_in_reg, local_cb); in DecodeDebugInfo0() 913 if (position_cb(context, address, line)) { in DecodeDebugInfo0() 926 void* context) const { in DecodeDebugInfo() 933 …DecodeDebugInfo0(code_item, is_static, method_idx, position_cb, local_cb, context, stream, &local_… in DecodeDebugInfo() 936 …InvokeLocalCbIfLive(context, reg, code_item->insns_size_in_code_units_, &local_in_reg[0], local_cb… in DecodeDebugInfo() [all …]
|
D | debugger.cc | 953 OwnedMonitorVisitor(Thread* thread, Context* context, in GetOwnedMonitors() 957 : StackVisitor(thread, context), current_stack_depth(0), in GetOwnedMonitors() 994 std::unique_ptr<Context> context(Context::Create()); in GetOwnedMonitors() local 995 OwnedMonitorVisitor visitor(thread, context.get(), &monitors, &stack_depths); in GetOwnedMonitors() 1659 static bool Callback(void* context, uint32_t address, uint32_t line_number) { in OutputLineTable() 1660 DebugCallbackContext* pContext = reinterpret_cast<DebugCallbackContext*>(context); in OutputLineTable() 1687 DebugCallbackContext context; in OutputLineTable() local 1688 context.numItems = 0; in OutputLineTable() 1689 context.pReply = pReply; in OutputLineTable() 1693 DebugCallbackContext::Callback, NULL, &context); in OutputLineTable() [all …]
|
D | quick_exception_handler.cc | 45 CatchBlockStackVisitor(Thread* self, Context* context, Handle<mirror::Throwable>* exception, in CatchBlockStackVisitor() argument 48 : StackVisitor(self, context), self_(self), exception_(exception), in CatchBlockStackVisitor() 172 DeoptimizeStackVisitor(Thread* self, Context* context, QuickExceptionHandler* exception_handler) in DeoptimizeStackVisitor() argument 174 : StackVisitor(self, context), self_(self), exception_handler_(exception_handler), in DeoptimizeStackVisitor()
|
D | thread.cc | 876 StackDumpVisitor(std::ostream& os, Thread* thread, Context* context, bool can_allocate) in StackDumpVisitor() 878 : StackVisitor(thread, context), os(os), thread(thread), can_allocate(can_allocate), in StackDumpVisitor() 934 static void DumpLockedObject(mirror::Object* o, void* context) in DumpLockedObject() 936 std::ostream& os = *reinterpret_cast<std::ostream*>(context); in DumpLockedObject() 1012 std::unique_ptr<Context> context(Context::Create()); in DumpJavaStack() local 1013 StackDumpVisitor dumper(os, const_cast<Thread*>(this), context.get(), in DumpJavaStack() 1986 CurrentMethodVisitor(Thread* thread, Context* context, bool abort_on_error) in CurrentMethodVisitor() 1988 : StackVisitor(thread, context), this_object_(nullptr), method_(nullptr), dex_pc_(0), in CurrentMethodVisitor() 2019 Context* context = GetLongJumpContext(); in GetCurrentLocationForThrow() local 2020 CurrentMethodVisitor visitor(this, context, true); in GetCurrentLocationForThrow() [all …]
|
/art/runtime/arch/mips/ |
D | fault_handler_mips.cc | 32 void FaultManager::HandleNestedSignal(int sig, siginfo_t* info, void* context) { in HandleNestedSignal() argument 35 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, in GetMethodAndReturnPcAndSp() argument 40 bool NullPointerHandler::Action(int sig, siginfo_t* info, void* context) { in Action() argument 44 bool SuspensionHandler::Action(int sig, siginfo_t* info, void* context) { in Action() argument 48 bool StackOverflowHandler::Action(int sig, siginfo_t* info, void* context) { in Action() argument
|
/art/runtime/arch/arm64/ |
D | fault_handler_arm64.cc | 40 void FaultManager::HandleNestedSignal(int sig, siginfo_t* info, void* context) { in HandleNestedSignal() argument 44 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in HandleNestedSignal() 54 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, in GetMethodAndReturnPcAndSp() argument 57 struct ucontext *uc = reinterpret_cast<struct ucontext *>(context); in GetMethodAndReturnPcAndSp() 85 bool NullPointerHandler::Action(int sig, siginfo_t* info, void* context) { in Action() argument 90 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action() 108 bool SuspensionHandler::Action(int sig, siginfo_t* info, void* context) { in Action() argument 114 struct ucontext *uc = reinterpret_cast<struct ucontext *>(context); in Action() 158 bool StackOverflowHandler::Action(int sig, siginfo_t* info, void* context) { in Action() argument 159 struct ucontext *uc = reinterpret_cast<struct ucontext *>(context); in Action()
|
/art/runtime/arch/arm/ |
D | fault_handler_arm.cc | 50 void FaultManager::HandleNestedSignal(int sig, siginfo_t* info, void* context) { in HandleNestedSignal() argument 56 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in HandleNestedSignal() 67 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, in GetMethodAndReturnPcAndSp() argument 70 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in GetMethodAndReturnPcAndSp() 103 bool NullPointerHandler::Action(int sig, siginfo_t* info, void* context) { in Action() argument 111 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action() 130 bool SuspensionHandler::Action(int sig, siginfo_t* info, void* context) { in Action() argument 136 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in Action() 199 bool StackOverflowHandler::Action(int sig, siginfo_t* info, void* context) { in Action() argument 200 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in Action()
|
/art/runtime/arch/x86/ |
D | fault_handler_x86.cc | 229 void FaultManager::HandleNestedSignal(int sig, siginfo_t* info, void* context) { in HandleNestedSignal() argument 239 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in HandleNestedSignal() 244 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, in GetMethodAndReturnPcAndSp() argument 247 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); in GetMethodAndReturnPcAndSp() 282 bool NullPointerHandler::Action(int sig, siginfo_t* info, void* context) { in Action() argument 283 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action() 322 bool SuspensionHandler::Action(int sig, siginfo_t* info, void* context) { in Action() argument 341 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action() 396 bool StackOverflowHandler::Action(int sig, siginfo_t* info, void* context) { in Action() argument 397 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in Action()
|
/art/test/004-SignalTest/ |
D | signaltest.cc | 50 static void signalhandler(int sig, siginfo_t* info, void* context) { in signalhandler() argument 57 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in signalhandler() 61 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in signalhandler() 65 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); in signalhandler()
|
/art/compiler/llvm/ |
D | ir_builder.cc | 31 IRBuilder::IRBuilder(::llvm::LLVMContext& context, ::llvm::Module& module, in IRBuilder() argument 33 : LLVMIRBuilder(context), module_(&module), mdb_(context), java_object_type_(NULL), in IRBuilder() 57 ::llvm::Type* jenv_struct_type = ::llvm::StructType::create(context, "JEnv"); in IRBuilder()
|
D | runtime_support_builder_arm.h | 27 RuntimeSupportBuilderARM(::llvm::LLVMContext& context, ::llvm::Module& module, IRBuilder& irb) in RuntimeSupportBuilderARM() argument 28 : RuntimeSupportBuilder(context, module, irb) {} in RuntimeSupportBuilderARM()
|
D | runtime_support_builder_x86.h | 27 RuntimeSupportBuilderX86(::llvm::LLVMContext& context, ::llvm::Module& module, IRBuilder& irb) in RuntimeSupportBuilderX86() argument 28 : RuntimeSupportBuilder(context, module, irb) {} in RuntimeSupportBuilderX86()
|
D | md_builder.h | 38 explicit MDBuilder(::llvm::LLVMContext& context) in MDBuilder() argument 39 : LLVMMDBuilder(context), tbaa_root_(createTBAARoot("Art TBAA Root")) { in MDBuilder()
|
D | intrinsic_helper.cc | 93 IntrinsicHelper::IntrinsicHelper(::llvm::LLVMContext& context, in IntrinsicHelper() argument 95 IRBuilder irb(context, module, *this); in IntrinsicHelper()
|
D | runtime_support_builder.cc | 39 RuntimeSupportBuilder::RuntimeSupportBuilder(::llvm::LLVMContext& context, in RuntimeSupportBuilder() argument 42 : context_(context), module_(module), irb_(irb) { in RuntimeSupportBuilder()
|
/art/runtime/gc/space/ |
D | zygote_space.cc | 105 SweepCallbackContext* context = static_cast<SweepCallbackContext*>(arg); in SweepCallback() local 106 DCHECK(context->space->IsZygoteSpace()); in SweepCallback() 107 ZygoteSpace* zygote_space = context->space->AsZygoteSpace(); in SweepCallback() 108 Locks::heap_bitmap_lock_->AssertExclusiveHeld(context->self); in SweepCallback() 112 if (!context->swap_bitmaps) { in SweepCallback()
|
D | malloc_space.cc | 231 SweepCallbackContext* context = static_cast<SweepCallbackContext*>(arg); in SweepCallback() local 232 space::MallocSpace* space = context->space->AsMallocSpace(); in SweepCallback() 233 Thread* self = context->self; in SweepCallback() 237 if (!context->swap_bitmaps) { in SweepCallback() 246 context->freed.objects += num_ptrs; in SweepCallback() 247 context->freed.bytes += space->FreeList(self, num_ptrs, ptrs); in SweepCallback()
|
D | large_object_space.cc | 492 SweepCallbackContext* context = static_cast<SweepCallbackContext*>(arg); in SweepCallback() local 493 space::LargeObjectSpace* space = context->space->AsLargeObjectSpace(); in SweepCallback() 494 Thread* self = context->self; in SweepCallback() 498 if (!context->swap_bitmaps) { in SweepCallback() 504 context->freed.objects += num_ptrs; in SweepCallback() 505 context->freed.bytes += space->FreeList(self, num_ptrs, ptrs); in SweepCallback()
|
/art/runtime/native/ |
D | org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 88 static void ThreadCountCallback(Thread*, void* context) { in ThreadCountCallback() argument 89 uint16_t& count = *reinterpret_cast<uint16_t*>(context); in ThreadCountCallback() 96 static void ThreadStatsGetterCallback(Thread* t, void* context) { in ThreadStatsGetterCallback() argument 124 std::vector<uint8_t>& bytes = *reinterpret_cast<std::vector<uint8_t>*>(context); in ThreadStatsGetterCallback()
|
/art/sigchainlib/ |
D | sigchain.h | 30 extern "C" void InvokeUserSignalHandler(int sig, siginfo_t* info, void* context);
|
D | sigchain_dummy.cc | 57 extern "C" void InvokeUserSignalHandler(int sig, siginfo_t* info, void* context) { in InvokeUserSignalHandler() argument
|
D | sigchain.cc | 115 extern "C" void InvokeUserSignalHandler(int sig, siginfo_t* info, void* context) { in InvokeUserSignalHandler() argument 134 action.sa_sigaction(sig, info, context); in InvokeUserSignalHandler()
|