Home
last modified time | relevance | path

Searched refs:iregs (Results 1 – 20 of 20) sorted by relevance

/external/google-breakpad/src/processor/
Dstackwalker_arm64_unittest.cc222 raw_context.iregs[MD_CONTEXT_ARM64_REG_PC] = 0x40005510; in TEST_F()
223 raw_context.iregs[MD_CONTEXT_ARM64_REG_SP] = stack_section.start().Value(); in TEST_F()
250 EXPECT_EQ(return_address1, frame1->context.iregs[MD_CONTEXT_ARM64_REG_PC]); in TEST_F()
251 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_ARM64_REG_SP]); in TEST_F()
258 EXPECT_EQ(return_address2, frame2->context.iregs[MD_CONTEXT_ARM64_REG_PC]); in TEST_F()
259 EXPECT_EQ(frame2_sp.Value(), frame2->context.iregs[MD_CONTEXT_ARM64_REG_SP]); in TEST_F()
287 raw_context.iregs[MD_CONTEXT_ARM64_REG_PC] = 0x40000200; in TEST_F()
288 raw_context.iregs[MD_CONTEXT_ARM64_REG_SP] = stack_section.start().Value(); in TEST_F()
322 EXPECT_EQ(return_address, frame1->context.iregs[MD_CONTEXT_ARM64_REG_PC]); in TEST_F()
323 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_ARM64_REG_SP]); in TEST_F()
[all …]
Dstackwalker_arm_unittest.cc245 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40005510; in TEST_F()
246 raw_context.iregs[MD_CONTEXT_ARM_REG_SP] = stack_section.start().Value(); in TEST_F()
272 EXPECT_EQ(return_address1, frame1->context.iregs[MD_CONTEXT_ARM_REG_PC]); in TEST_F()
273 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_ARM_REG_SP]); in TEST_F()
280 EXPECT_EQ(return_address2, frame2->context.iregs[MD_CONTEXT_ARM_REG_PC]); in TEST_F()
281 EXPECT_EQ(frame2_sp.Value(), frame2->context.iregs[MD_CONTEXT_ARM_REG_SP]); in TEST_F()
309 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40000200; in TEST_F()
310 raw_context.iregs[MD_CONTEXT_ARM_REG_SP] = stack_section.start().Value(); in TEST_F()
343 EXPECT_EQ(return_address, frame1->context.iregs[MD_CONTEXT_ARM_REG_PC]); in TEST_F()
344 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_ARM_REG_SP]); in TEST_F()
[all …]
Dminidump_unittest.cc991 raw_context.iregs[0] = 0x3ecba80d; in TEST()
992 raw_context.iregs[1] = 0x382583b9; in TEST()
993 raw_context.iregs[2] = 0x7fccc03f; in TEST()
994 raw_context.iregs[3] = 0xf62f8ec2; in TEST()
995 raw_context.iregs[4] = 0x46a6a6a8; in TEST()
996 raw_context.iregs[5] = 0x6a5025e2; in TEST()
997 raw_context.iregs[6] = 0xd9fabb4a; in TEST()
998 raw_context.iregs[7] = 0x6913f540; in TEST()
999 raw_context.iregs[8] = 0xbffe6eda; in TEST()
1000 raw_context.iregs[9] = 0xb2ce1e2d; in TEST()
[all …]
Dstackwalker_mips_unittest.cc152 raw_context.iregs[MD_CONTEXT_MIPS_REG_SP] = 0x80000000; in TEST_F()
180 raw_context.iregs[MD_CONTEXT_MIPS_REG_SP] = 0x80000000; in TEST_F()
203 raw_context.iregs[MD_CONTEXT_MIPS_REG_SP] = 0x80000000; in TEST_F()
258 raw_context.iregs[MD_CONTEXT_MIPS_REG_SP] = stack_section.start().Value(); in TEST_F()
259 raw_context.iregs[MD_CONTEXT_MIPS_REG_RA] = return_address1; in TEST_F()
287 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_MIPS_REG_SP]); in TEST_F()
297 EXPECT_EQ(frame2_sp.Value(), frame2->context.iregs[MD_CONTEXT_MIPS_REG_SP]); in TEST_F()
326 raw_context.iregs[MD_CONTEXT_MIPS_REG_SP] = stack_section.start().Value(); in TEST_F()
327 raw_context.iregs[MD_CONTEXT_MIPS_REG_RA] = return_address; in TEST_F()
363 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_MIPS_REG_SP]); in TEST_F()
[all …]
Dstackwalker_arm.cc74 frame->instruction = frame->context.iregs[MD_CONTEXT_ARM_REG_PC]; in GetContextFrame()
96 callee_registers[register_names[i]] = last_frame->context.iregs[i]; in GetCallerByCFIFrameInfo()
113 frame->context.iregs[i] = entry->second; in GetCallerByCFIFrameInfo()
121 frame->context.iregs[i] = last_frame->context.iregs[i]; in GetCallerByCFIFrameInfo()
131 frame->context.iregs[MD_CONTEXT_ARM_REG_PC] = entry->second; in GetCallerByCFIFrameInfo()
137 frame->context.iregs[MD_CONTEXT_ARM_REG_LR] = entry->second; in GetCallerByCFIFrameInfo()
138 frame->context.iregs[MD_CONTEXT_ARM_REG_PC] = in GetCallerByCFIFrameInfo()
139 last_frame->context.iregs[MD_CONTEXT_ARM_REG_LR]; in GetCallerByCFIFrameInfo()
149 frame->context.iregs[MD_CONTEXT_ARM_REG_SP] = entry->second; in GetCallerByCFIFrameInfo()
166 uint32_t last_sp = last_frame->context.iregs[MD_CONTEXT_ARM_REG_SP]; in GetCallerByStackScan()
[all …]
Dstackwalker_arm64.cc73 frame->instruction = frame->context.iregs[MD_CONTEXT_ARM64_REG_PC]; in GetContextFrame()
95 callee_registers[register_names[i]] = last_frame->context.iregs[i]; in GetCallerByCFIFrameInfo()
113 frame->context.iregs[i] = entry->second; in GetCallerByCFIFrameInfo()
122 frame->context.iregs[i] = last_frame->context.iregs[i]; in GetCallerByCFIFrameInfo()
131 frame->context.iregs[MD_CONTEXT_ARM64_REG_PC] = entry->second; in GetCallerByCFIFrameInfo()
140 frame->context.iregs[MD_CONTEXT_ARM64_REG_SP] = entry->second; in GetCallerByCFIFrameInfo()
157 uint64_t last_sp = last_frame->context.iregs[MD_CONTEXT_ARM64_REG_SP]; in GetCallerByStackScan()
177 frame->context.iregs[MD_CONTEXT_ARM64_REG_PC] = caller_pc; in GetCallerByStackScan()
178 frame->context.iregs[MD_CONTEXT_ARM64_REG_SP] = caller_sp; in GetCallerByStackScan()
189 uint64_t last_fp = last_frame->context.iregs[MD_CONTEXT_ARM64_REG_FP]; in GetCallerByFramePointer()
[all …]
Dstackwalk_common.cc154 stack_begin = frame_arm->context.iregs[13]; in PrintStackContents()
155 stack_end = prev_frame_arm->context.iregs[13]; in PrintStackContents()
166 stack_begin = frame_arm64->context.iregs[31]; in PrintStackContents()
167 stack_end = prev_frame_arm64->context.iregs[31]; in PrintStackContents()
376 sequence = PrintRegister("r0", frame_arm->context.iregs[0], sequence); in PrintStack()
378 sequence = PrintRegister("r1", frame_arm->context.iregs[1], sequence); in PrintStack()
380 sequence = PrintRegister("r2", frame_arm->context.iregs[2], sequence); in PrintStack()
382 sequence = PrintRegister("r3", frame_arm->context.iregs[3], sequence); in PrintStack()
386 sequence = PrintRegister("r4", frame_arm->context.iregs[4], sequence); in PrintStack()
388 sequence = PrintRegister("r5", frame_arm->context.iregs[5], sequence); in PrintStack()
[all …]
Dstackwalker_mips.cc107 caller_registers[kRegisterNames[i]] = last_frame->context.iregs[i]; in GetCallerByCFIFrameInfo()
108 callee_registers[kRegisterNames[i]] = last_frame->context.iregs[i]; in GetCallerByCFIFrameInfo()
140 frame->context.iregs[i] = caller_entry->second; in GetCallerByCFIFrameInfo()
151 frame->context.iregs[i] = last_frame->context.iregs[i]; in GetCallerByCFIFrameInfo()
160 frame->context.iregs[MD_CONTEXT_MIPS_REG_RA] = caller_registers["$ra"]; in GetCallerByCFIFrameInfo()
203 if (new_frame->context.iregs[MD_CONTEXT_MIPS_REG_SP] <= in GetCallerFrame()
204 last_frame->context.iregs[MD_CONTEXT_MIPS_REG_SP]) { in GetCallerFrame()
218 uint32_t last_sp = last_frame->context.iregs[MD_CONTEXT_MIPS_REG_SP]; in GetCallerByStackScan()
287 frame->context.iregs[MD_CONTEXT_MIPS_REG_SP] = caller_sp; in GetCallerByStackScan()
289 frame->context.iregs[MD_CONTEXT_MIPS_REG_FP] = caller_fp; in GetCallerByStackScan()
[all …]
Ddump_context.cc160 *ip = GetContextARM()->iregs[MD_CONTEXT_ARM_REG_PC]; in GetInstructionPointer()
163 *ip = GetContextARM64()->iregs[MD_CONTEXT_ARM64_REG_PC]; in GetInstructionPointer()
515 ireg_index, context_arm->iregs[ireg_index]); in Print()
545 ireg_index, context_arm64->iregs[ireg_index]); in Print()
570 ireg_index, context_mips->iregs[ireg_index]); in Print()
Dsynth_minidump.cc188 D32(context.iregs[i]); in Context()
206 D64(context.iregs[i]); in Context()
Dminidump.cc702 Swap(&context_arm64->iregs[ireg_index]); in Read()
1004 Swap(&context_arm->iregs[ireg_index]); in Read()
1061 Swap(&context_mips->iregs[ireg_index]); in Read()
/external/google-breakpad/src/client/linux/dump_writer_common/
Ducontext_reader.cc159 out->iregs[0] = uc->uc_mcontext.arm_r0;
160 out->iregs[1] = uc->uc_mcontext.arm_r1;
161 out->iregs[2] = uc->uc_mcontext.arm_r2;
162 out->iregs[3] = uc->uc_mcontext.arm_r3;
163 out->iregs[4] = uc->uc_mcontext.arm_r4;
164 out->iregs[5] = uc->uc_mcontext.arm_r5;
165 out->iregs[6] = uc->uc_mcontext.arm_r6;
166 out->iregs[7] = uc->uc_mcontext.arm_r7;
167 out->iregs[8] = uc->uc_mcontext.arm_r8;
168 out->iregs[9] = uc->uc_mcontext.arm_r9;
[all …]
Dthread_info.cc197 out->iregs[i] = regs.uregs[i];
220 out->iregs[i] = regs.regs[i];
221 out->iregs[MD_CONTEXT_ARM64_REG_SP] = regs.sp;
222 out->iregs[MD_CONTEXT_ARM64_REG_PC] = regs.pc;
240 out->iregs[i] = regs.regs[i];
/external/google-breakpad/src/client/ios/handler/
Dios_exception_minidump_generator.mm100 context_ptr->iregs[MD_CONTEXT_ARM_REG_IOS_FP] = kExpectedFinalFp; // FP
101 context_ptr->iregs[MD_CONTEXT_ARM_REG_SP] = kExpectedFinalSp; // SP
102 context_ptr->iregs[MD_CONTEXT_ARM_REG_LR] = GetLRFromException(); // LR
103 context_ptr->iregs[MD_CONTEXT_ARM_REG_PC] = GetPCFromException(); // PC
118 context_ptr->iregs[MD_CONTEXT_ARM64_REG_FP] = kExpectedFinalFp; // FP
119 context_ptr->iregs[MD_CONTEXT_ARM64_REG_SP] = kExpectedFinalSp; // SP
120 context_ptr->iregs[MD_CONTEXT_ARM64_REG_LR] = GetLRFromException(); // LR
121 context_ptr->iregs[MD_CONTEXT_ARM64_REG_PC] = GetPCFromException(); // PC
/external/google-breakpad/src/tools/linux/md2core/
Dminidump-2-core.cc347 thread->regs.uregs[0] = rawregs->iregs[0]; in ParseThreadRegisters()
348 thread->regs.uregs[1] = rawregs->iregs[1]; in ParseThreadRegisters()
349 thread->regs.uregs[2] = rawregs->iregs[2]; in ParseThreadRegisters()
350 thread->regs.uregs[3] = rawregs->iregs[3]; in ParseThreadRegisters()
351 thread->regs.uregs[4] = rawregs->iregs[4]; in ParseThreadRegisters()
352 thread->regs.uregs[5] = rawregs->iregs[5]; in ParseThreadRegisters()
353 thread->regs.uregs[6] = rawregs->iregs[6]; in ParseThreadRegisters()
354 thread->regs.uregs[7] = rawregs->iregs[7]; in ParseThreadRegisters()
355 thread->regs.uregs[8] = rawregs->iregs[8]; in ParseThreadRegisters()
356 thread->regs.uregs[9] = rawregs->iregs[9]; in ParseThreadRegisters()
[all …]
/external/google-breakpad/src/google_breakpad/common/
Dminidump_cpu_arm.h103 uint32_t iregs[MD_CONTEXT_ARM_GPR_COUNT]; member
Dminidump_cpu_arm64.h98 uint64_t iregs[MD_CONTEXT_ARM64_GPR_COUNT]; member
Dminidump_cpu_mips.h118 uint64_t iregs[MD_CONTEXT_MIPS_GPR_COUNT]; member
/external/google-breakpad/src/client/mac/handler/
Dminidump_generator.cc481 #define AddGPR(a) context_ptr->iregs[a] = REGISTER_FROM_THREADSTATE(machine_state, r[a]) in WriteContextARM()
483 context_ptr->iregs[13] = REGISTER_FROM_THREADSTATE(machine_state, sp); in WriteContextARM()
484 context_ptr->iregs[14] = REGISTER_FROM_THREADSTATE(machine_state, lr); in WriteContextARM()
485 context_ptr->iregs[15] = REGISTER_FROM_THREADSTATE(machine_state, pc); in WriteContextARM()
539 #define AddGPR(a) context_ptr->iregs[a] = \ in WriteContextARM64()
542 context_ptr->iregs[29] = REGISTER_FROM_THREADSTATE(machine_state, fp); in WriteContextARM64()
543 context_ptr->iregs[30] = REGISTER_FROM_THREADSTATE(machine_state, lr); in WriteContextARM64()
544 context_ptr->iregs[31] = REGISTER_FROM_THREADSTATE(machine_state, sp); in WriteContextARM64()
545 context_ptr->iregs[32] = REGISTER_FROM_THREADSTATE(machine_state, pc); in WriteContextARM64()
/external/ltrace/sysdeps/linux-gnu/x86/
Dfetch.c58 struct user_regs_struct iregs; member
219 context->iregs.WHICH, offset); \ in allocate_integer()
573 if (ptrace(PTRACE_GETREGS, proc->pid, 0, &context->iregs) < 0) in fetch_register_banks()
671 sp = (arch_addr_t)context->iregs.rsp; in fetch_stack_pointer()
673 sp = (arch_addr_t)context->iregs.esp; in fetch_stack_pointer()