/art/runtime/arch/mips/ |
H A D | fault_handler_mips.cc | 32 void FaultManager::HandleNestedSignal(int sig, siginfo_t* info, void* context) { argument 35 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, argument 40 bool NullPointerHandler::Action(int sig, siginfo_t* info, void* context) { argument 44 bool SuspensionHandler::Action(int sig, siginfo_t* info, void* context) { argument 48 bool StackOverflowHandler::Action(int sig, siginfo_t* info, void* context) { argument
|
/art/runtime/ |
H A D | runtime_linux.cc | 135 explicit UContext(void* raw_context) : context(reinterpret_cast<ucontext_t*>(raw_context)->uc_mcontext) {} 140 DumpRegister32(os, "eax", context->__ss.__eax); 141 DumpRegister32(os, "ebx", context->__ss.__ebx); 142 DumpRegister32(os, "ecx", context->__ss.__ecx); 143 DumpRegister32(os, "edx", context->__ss.__edx); 146 DumpRegister32(os, "edi", context->__ss.__edi); 147 DumpRegister32(os, "esi", context->__ss.__esi); 148 DumpRegister32(os, "ebp", context->__ss.__ebp); 149 DumpRegister32(os, "esp", context->__ss.__esp); 152 DumpRegister32(os, "eip", context 271 mcontext_t& context; member in struct:art::UContext [all...] |
H A D | fault_handler.h | 45 void HandleFault(int sig, siginfo_t* info, void* context); 46 void HandleNestedSignal(int sig, siginfo_t* info, void* context); 50 // Note that the following two functions are called in the context of a signal handler. 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) OVERRID [all...] |
H A D | fault_handler.cc | 54 // our secondary signal handler gets called in a signal context. This results in 81 static void art_fault_handler(int sig, siginfo_t* info, void* context) { argument 82 fault_manager.HandleFault(sig, info, context); 86 static void art_nested_signal_handler(int sig, siginfo_t* info, void* context) { argument 87 fault_manager.HandleNestedSignal(sig, info, context); 138 void FaultManager::HandleFault(int sig, siginfo_t* info, void* context) { argument 144 if (IsInGeneratedCode(info, context, true)) { 148 if (handler->Action(sig, info, context)) { 167 if (handler->Action(sig, info, context)) { 176 InvokeUserSignalHandler(sig, info, context); 203 IsInGeneratedCode(siginfo_t* siginfo, void* context, bool check_dex_pc) argument 311 Action(int sig, siginfo_t* siginfo, void* context) argument [all...] |
H A D | dex_file.cc | 715 LineNumFromPcContext context(rel_pc, -1); 717 NULL, &context); 718 return context.line_num_; 756 void* context, const byte* stream, LocalInfo* local_in_reg) const { 845 InvokeLocalCbIfLive(context, reg, address, local_in_reg, local_cb); 866 InvokeLocalCbIfLive(context, reg, address, local_in_reg, local_cb); 906 if (position_cb(context, address, line)) { 919 void* context) const { 926 DecodeDebugInfo0(code_item, is_static, method_idx, position_cb, local_cb, context, stream, &local_in_reg[0]); 929 InvokeLocalCbIfLive(context, re 754 DecodeDebugInfo0(const CodeItem* code_item, bool is_static, uint32_t method_idx, DexDebugNewPositionCb position_cb, DexDebugNewLocalCb local_cb, void* context, const byte* stream, LocalInfo* local_in_reg) const argument 934 LineNumFromPcContext* context = reinterpret_cast<LineNumFromPcContext*>(raw_context); local [all...] |
H A D | debugger.cc | 23 #include "arch/context.h" 941 OwnedMonitorVisitor(Thread* thread, Context* context, 945 : StackVisitor(thread, context), current_stack_depth(0), 982 std::unique_ptr<Context> context(Context::Create()); 983 OwnedMonitorVisitor visitor(thread, context.get(), &monitors, &stack_depths); 1647 static bool Callback(void* context, uint32_t address, uint32_t line_number) { argument 1648 DebugCallbackContext* pContext = reinterpret_cast<DebugCallbackContext*>(context); 1675 DebugCallbackContext context; local 1676 context.numItems = 0; 1677 context 1730 DebugCallbackContext context; local 3365 DebugCallbackContext* context = reinterpret_cast<DebugCallbackContext*>(raw_context); local [all...] |
H A D | quick_exception_handler.cc | 19 #include "arch/context.h" 45 CatchBlockStackVisitor(Thread* self, Context* context, Handle<mirror::Throwable>* exception, 48 : StackVisitor(self, context), self_(self), exception_(exception), 172 DeoptimizeStackVisitor(Thread* self, Context* context, QuickExceptionHandler* exception_handler) 174 : StackVisitor(self, context), self_(self), exception_handler_(exception_handler), 346 // Place context back on thread so it will be available when we continue.
|
/art/compiler/llvm/ |
H A D | runtime_support_builder_arm.h | 27 RuntimeSupportBuilderARM(::llvm::LLVMContext& context, ::llvm::Module& module, IRBuilder& irb) argument 28 : RuntimeSupportBuilder(context, module, irb) {}
|
H A D | runtime_support_builder_x86.h | 27 RuntimeSupportBuilderX86(::llvm::LLVMContext& context, ::llvm::Module& module, IRBuilder& irb) argument 28 : RuntimeSupportBuilder(context, module, irb) {}
|
H A D | ir_builder.cc | 31 IRBuilder::IRBuilder(::llvm::LLVMContext& context, ::llvm::Module& module, argument 33 : LLVMIRBuilder(context), module_(&module), mdb_(context), java_object_type_(NULL), 57 ::llvm::Type* jenv_struct_type = ::llvm::StructType::create(context, "JEnv");
|
H A D | md_builder.h | 38 explicit MDBuilder(::llvm::LLVMContext& context) argument 39 : LLVMMDBuilder(context), tbaa_root_(createTBAARoot("Art TBAA Root")) {
|
H A D | intrinsic_helper.cc | 93 IntrinsicHelper::IntrinsicHelper(::llvm::LLVMContext& context, argument 95 IRBuilder irb(context, module, *this);
|
H A D | intrinsic_helper.h | 126 IntrinsicHelper(::llvm::LLVMContext& context, ::llvm::Module& module);
|
H A D | runtime_support_builder.h | 42 RuntimeSupportBuilder(::llvm::LLVMContext& context, ::llvm::Module& module, IRBuilder& irb);
|
H A D | runtime_support_builder.cc | 39 RuntimeSupportBuilder::RuntimeSupportBuilder(::llvm::LLVMContext& context, argument 42 : context_(context), module_(module), irb_(irb) {
|
/art/sigchainlib/ |
H A D | sigchain.h | 32 void InvokeUserSignalHandler(int sig, siginfo_t* info, void* context);
|
H A D | sigchain.cc | 116 void InvokeUserSignalHandler(int sig, siginfo_t* info, void* context) { argument 135 action.sa_sigaction(sig, info, context); 181 // This will only occur outside of a signal context since we have 231 // Don't call this from within a signal context as it makes calls to
|
/art/runtime/arch/arm64/ |
H A D | fault_handler_arm64.cc | 40 void FaultManager::HandleNestedSignal(int sig, siginfo_t* info, void* context) { argument 44 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 54 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, argument 57 struct ucontext *uc = reinterpret_cast<struct ucontext *>(context); 85 bool NullPointerHandler::Action(int sig, siginfo_t* info, void* context) { argument 90 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 108 bool SuspensionHandler::Action(int sig, siginfo_t* info, void* context) { argument 114 struct ucontext *uc = reinterpret_cast<struct ucontext *>(context); 158 bool StackOverflowHandler::Action(int sig, siginfo_t* info, void* context) { argument 159 struct ucontext *uc = reinterpret_cast<struct ucontext *>(context); [all...] |
/art/test/004-SignalTest/ |
H A D | signaltest.cc | 50 static void signalhandler(int sig, siginfo_t* info, void* context) { argument 57 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 61 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 65 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context);
|
/art/runtime/arch/arm/ |
H A D | fault_handler_arm.cc | 50 void FaultManager::HandleNestedSignal(int sig, siginfo_t* info, void* context) { argument 56 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 67 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, argument 70 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); 103 bool NullPointerHandler::Action(int sig, siginfo_t* info, void* context) { argument 111 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 130 bool SuspensionHandler::Action(int sig, siginfo_t* info, void* context) { argument 136 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); 199 bool StackOverflowHandler::Action(int sig, siginfo_t* info, void* context) { argument 200 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); [all...] |
/art/runtime/gc/space/ |
H A D | zygote_space.cc | 105 SweepCallbackContext* context = static_cast<SweepCallbackContext*>(arg); local 106 DCHECK(context->space->IsZygoteSpace()); 107 ZygoteSpace* zygote_space = context->space->AsZygoteSpace(); 108 Locks::heap_bitmap_lock_->AssertExclusiveHeld(context->self); 112 if (!context->swap_bitmaps) {
|
H A D | malloc_space.cc | 231 SweepCallbackContext* context = static_cast<SweepCallbackContext*>(arg); local 232 space::MallocSpace* space = context->space->AsMallocSpace(); 233 Thread* self = context->self; 237 if (!context->swap_bitmaps) { 246 context->freed.objects += num_ptrs; 247 context->freed.bytes += space->FreeList(self, num_ptrs, ptrs);
|
H A D | large_object_space.cc | 492 SweepCallbackContext* context = static_cast<SweepCallbackContext*>(arg); local 493 space::LargeObjectSpace* space = context->space->AsLargeObjectSpace(); 494 Thread* self = context->self; 498 if (!context->swap_bitmaps) { 504 context->freed.objects += num_ptrs; 505 context->freed.bytes += space->FreeList(self, num_ptrs, ptrs);
|
/art/runtime/arch/x86/ |
H A D | fault_handler_x86.cc | 229 void FaultManager::HandleNestedSignal(int sig, siginfo_t* info, void* context) { argument 239 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); 244 void FaultManager::GetMethodAndReturnPcAndSp(siginfo_t* siginfo, void* context, argument 247 struct ucontext* uc = reinterpret_cast<struct ucontext*>(context); 282 bool NullPointerHandler::Action(int sig, siginfo_t* info, void* context) { argument 283 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 322 bool SuspensionHandler::Action(int sig, siginfo_t* info, void* context) { argument 341 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); 396 bool StackOverflowHandler::Action(int sig, siginfo_t* info, void* context) { argument 397 struct ucontext *uc = reinterpret_cast<struct ucontext*>(context); [all...] |
/art/runtime/native/ |
H A D | org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 88 static void ThreadCountCallback(Thread*, void* context) { argument 89 uint16_t& count = *reinterpret_cast<uint16_t*>(context); 96 static void ThreadStatsGetterCallback(Thread* t, void* context) { argument 124 std::vector<uint8_t>& bytes = *reinterpret_cast<std::vector<uint8_t>*>(context);
|