Home
last modified time | relevance | path

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

/external/google-breakpad/src/processor/
Dstackwalker_arm64_unittest.cc223 raw_context.iregs[MD_CONTEXT_ARM64_REG_PC] = 0x40005510; in TEST_F()
224 raw_context.iregs[MD_CONTEXT_ARM64_REG_SP] = stack_section.start().Value(); in TEST_F()
251 EXPECT_EQ(return_address1, frame1->context.iregs[MD_CONTEXT_ARM64_REG_PC]); in TEST_F()
252 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_ARM64_REG_SP]); in TEST_F()
259 EXPECT_EQ(return_address2, frame2->context.iregs[MD_CONTEXT_ARM64_REG_PC]); in TEST_F()
260 EXPECT_EQ(frame2_sp.Value(), frame2->context.iregs[MD_CONTEXT_ARM64_REG_SP]); in TEST_F()
288 raw_context.iregs[MD_CONTEXT_ARM64_REG_PC] = 0x40000200; in TEST_F()
289 raw_context.iregs[MD_CONTEXT_ARM64_REG_SP] = stack_section.start().Value(); in TEST_F()
323 EXPECT_EQ(return_address, frame1->context.iregs[MD_CONTEXT_ARM64_REG_PC]); in TEST_F()
324 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_ARM64_REG_SP]); in TEST_F()
[all …]
Dstackwalker_arm_unittest.cc246 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40005510; in TEST_F()
247 raw_context.iregs[MD_CONTEXT_ARM_REG_SP] = stack_section.start().Value(); in TEST_F()
273 EXPECT_EQ(return_address1, frame1->context.iregs[MD_CONTEXT_ARM_REG_PC]); in TEST_F()
274 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_ARM_REG_SP]); in TEST_F()
281 EXPECT_EQ(return_address2, frame2->context.iregs[MD_CONTEXT_ARM_REG_PC]); in TEST_F()
282 EXPECT_EQ(frame2_sp.Value(), frame2->context.iregs[MD_CONTEXT_ARM_REG_SP]); in TEST_F()
310 raw_context.iregs[MD_CONTEXT_ARM_REG_PC] = 0x40000200; in TEST_F()
311 raw_context.iregs[MD_CONTEXT_ARM_REG_SP] = stack_section.start().Value(); in TEST_F()
344 EXPECT_EQ(return_address, frame1->context.iregs[MD_CONTEXT_ARM_REG_PC]); in TEST_F()
345 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_ARM_REG_SP]); in TEST_F()
[all …]
Dminidump_unittest.cc1353 raw_context.iregs[0] = 0x3ecba80d; in TEST()
1354 raw_context.iregs[1] = 0x382583b9; in TEST()
1355 raw_context.iregs[2] = 0x7fccc03f; in TEST()
1356 raw_context.iregs[3] = 0xf62f8ec2; in TEST()
1357 raw_context.iregs[4] = 0x46a6a6a8; in TEST()
1358 raw_context.iregs[5] = 0x6a5025e2; in TEST()
1359 raw_context.iregs[6] = 0xd9fabb4a; in TEST()
1360 raw_context.iregs[7] = 0x6913f540; in TEST()
1361 raw_context.iregs[8] = 0xbffe6eda; in TEST()
1362 raw_context.iregs[9] = 0xb2ce1e2d; in TEST()
[all …]
Dstackwalker_arm64.cc94 frame->instruction = frame->context.iregs[MD_CONTEXT_ARM64_REG_PC]; in GetContextFrame()
95 frame->context.iregs[MD_CONTEXT_ARM64_REG_LR] = in GetContextFrame()
96 PtrauthStrip(frame->context.iregs[MD_CONTEXT_ARM64_REG_LR]); in GetContextFrame()
118 callee_registers[register_names[i]] = last_frame->context.iregs[i]; in GetCallerByCFIFrameInfo()
136 frame->context.iregs[i] = entry->second; in GetCallerByCFIFrameInfo()
145 frame->context.iregs[i] = last_frame->context.iregs[i]; in GetCallerByCFIFrameInfo()
154 frame->context.iregs[MD_CONTEXT_ARM64_REG_PC] = entry->second; in GetCallerByCFIFrameInfo()
163 frame->context.iregs[MD_CONTEXT_ARM64_REG_SP] = entry->second; in GetCallerByCFIFrameInfo()
180 uint64_t last_sp = last_frame->context.iregs[MD_CONTEXT_ARM64_REG_SP]; in GetCallerByStackScan()
200 frame->context.iregs[MD_CONTEXT_ARM64_REG_PC] = caller_pc; in GetCallerByStackScan()
[all …]
Dstackwalker_mips_unittest.cc153 raw_context.iregs[MD_CONTEXT_MIPS_REG_SP] = 0x80000000; in TEST_F()
182 raw_context.iregs[MD_CONTEXT_MIPS_REG_SP] = 0x80000000; in TEST_F()
206 raw_context.iregs[MD_CONTEXT_MIPS_REG_SP] = 0x80000000; in TEST_F()
262 raw_context.iregs[MD_CONTEXT_MIPS_REG_SP] = stack_section.start().Value(); in TEST_F()
263 raw_context.iregs[MD_CONTEXT_MIPS_REG_RA] = return_address1; in TEST_F()
291 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_MIPS_REG_SP]); in TEST_F()
301 EXPECT_EQ(frame2_sp.Value(), frame2->context.iregs[MD_CONTEXT_MIPS_REG_SP]); in TEST_F()
331 raw_context.iregs[MD_CONTEXT_MIPS_REG_SP] = stack_section.start().Value(); in TEST_F()
332 raw_context.iregs[MD_CONTEXT_MIPS_REG_RA] = return_address; in TEST_F()
368 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_MIPS_REG_SP]); in TEST_F()
[all …]
Dstackwalker_mips64_unittest.cc155 raw_context.iregs[MD_CONTEXT_MIPS_REG_SP] = 0x80000000; in TEST_F()
185 raw_context.iregs[MD_CONTEXT_MIPS_REG_SP] = 0x80000000; in TEST_F()
210 raw_context.iregs[MD_CONTEXT_MIPS_REG_SP] = 0x80000000; in TEST_F()
267 raw_context.iregs[MD_CONTEXT_MIPS_REG_SP] = stack_section.start().Value(); in TEST_F()
268 raw_context.iregs[MD_CONTEXT_MIPS_REG_RA] = return_address1; in TEST_F()
296 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_MIPS_REG_SP]); in TEST_F()
306 EXPECT_EQ(frame2_sp.Value(), frame2->context.iregs[MD_CONTEXT_MIPS_REG_SP]); in TEST_F()
337 raw_context.iregs[MD_CONTEXT_MIPS_REG_SP] = stack_section.start().Value(); in TEST_F()
338 raw_context.iregs[MD_CONTEXT_MIPS_REG_RA] = return_address; in TEST_F()
374 EXPECT_EQ(frame1_sp.Value(), frame1->context.iregs[MD_CONTEXT_MIPS_REG_SP]); in TEST_F()
[all …]
Dstackwalker_arm.cc75 frame->instruction = frame->context.iregs[MD_CONTEXT_ARM_REG_PC]; in GetContextFrame()
97 callee_registers[register_names[i]] = last_frame->context.iregs[i]; in GetCallerByCFIFrameInfo()
114 frame->context.iregs[i] = entry->second; in GetCallerByCFIFrameInfo()
122 frame->context.iregs[i] = last_frame->context.iregs[i]; in GetCallerByCFIFrameInfo()
132 frame->context.iregs[MD_CONTEXT_ARM_REG_PC] = entry->second; in GetCallerByCFIFrameInfo()
138 frame->context.iregs[MD_CONTEXT_ARM_REG_LR] = entry->second; in GetCallerByCFIFrameInfo()
139 frame->context.iregs[MD_CONTEXT_ARM_REG_PC] = in GetCallerByCFIFrameInfo()
140 last_frame->context.iregs[MD_CONTEXT_ARM_REG_LR]; in GetCallerByCFIFrameInfo()
150 frame->context.iregs[MD_CONTEXT_ARM_REG_SP] = entry->second; in GetCallerByCFIFrameInfo()
167 uint32_t last_sp = last_frame->context.iregs[MD_CONTEXT_ARM_REG_SP]; in GetCallerByStackScan()
[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.cc120 caller_registers[kRegisterNames[i]] = last_frame->context.iregs[i]; in GetCallerByCFIFrameInfo()
121 callee_registers[kRegisterNames[i]] = last_frame->context.iregs[i]; in GetCallerByCFIFrameInfo()
152 frame->context.iregs[i] = caller_entry->second; in GetCallerByCFIFrameInfo()
163 frame->context.iregs[i] = last_frame->context.iregs[i]; in GetCallerByCFIFrameInfo()
172 frame->context.iregs[MD_CONTEXT_MIPS_REG_RA] = caller_registers["$ra"]; in GetCallerByCFIFrameInfo()
187 caller_registers[kRegisterNames[i]] = last_frame->context.iregs[i]; in GetCallerByCFIFrameInfo()
188 callee_registers[kRegisterNames[i]] = last_frame->context.iregs[i]; in GetCallerByCFIFrameInfo()
219 frame->context.iregs[i] = caller_entry->second; in GetCallerByCFIFrameInfo()
230 frame->context.iregs[i] = last_frame->context.iregs[i]; in GetCallerByCFIFrameInfo()
239 frame->context.iregs[MD_CONTEXT_MIPS_REG_RA] = caller_registers["$ra"]; in GetCallerByCFIFrameInfo()
[all …]
Dconvert_old_arm64_context.cc49 static_assert(sizeof(old.iregs) == sizeof(context->iregs), in ConvertOldARM64Context()
51 memcpy(context->iregs, old.iregs, sizeof(context->iregs)); in ConvertOldARM64Context()
Ddump_context.cc158 *ip = GetContextARM()->iregs[MD_CONTEXT_ARM_REG_PC]; in GetInstructionPointer()
161 *ip = GetContextARM64()->iregs[MD_CONTEXT_ARM64_REG_PC]; in GetInstructionPointer()
202 *sp = GetContextARM()->iregs[MD_CONTEXT_ARM_REG_SP]; in GetStackPointer()
205 *sp = GetContextARM64()->iregs[MD_CONTEXT_ARM64_REG_SP]; in GetStackPointer()
221 *sp = GetContextMIPS()->iregs[MD_CONTEXT_MIPS_REG_SP]; in GetStackPointer()
563 names[ireg_index], context_arm->iregs[ireg_index]); in Print()
593 ireg_index, context_arm64->iregs[ireg_index]); in Print()
620 ireg_index, context_mips->iregs[ireg_index]); in Print()
Dsynth_minidump.cc185 D32(context.iregs[i]); in Context()
203 D64(context.iregs[i]); in Context()
Dminidump.cc728 Swap(&context_arm64->iregs[ireg_index]); in Read()
1022 Swap(&context_arm->iregs[ireg_index]); in Read()
1077 Swap(&context_arm64->iregs[ireg_index]); in Read()
1132 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.cc198 out->iregs[i] = regs.uregs[i];
221 out->iregs[i] = regs.regs[i];
222 out->iregs[MD_CONTEXT_ARM64_REG_SP] = regs.sp;
223 out->iregs[MD_CONTEXT_ARM64_REG_PC] = regs.pc;
247 out->iregs[i] = mcontext.gregs[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.cc460 thread->regs.uregs[0] = rawregs->iregs[0]; in ParseThreadRegisters()
461 thread->regs.uregs[1] = rawregs->iregs[1]; in ParseThreadRegisters()
462 thread->regs.uregs[2] = rawregs->iregs[2]; in ParseThreadRegisters()
463 thread->regs.uregs[3] = rawregs->iregs[3]; in ParseThreadRegisters()
464 thread->regs.uregs[4] = rawregs->iregs[4]; in ParseThreadRegisters()
465 thread->regs.uregs[5] = rawregs->iregs[5]; in ParseThreadRegisters()
466 thread->regs.uregs[6] = rawregs->iregs[6]; in ParseThreadRegisters()
467 thread->regs.uregs[7] = rawregs->iregs[7]; in ParseThreadRegisters()
468 thread->regs.uregs[8] = rawregs->iregs[8]; in ParseThreadRegisters()
469 thread->regs.uregs[9] = rawregs->iregs[9]; in ParseThreadRegisters()
[all …]
/external/google-breakpad/src/google_breakpad/common/
Dminidump_cpu_arm64.h114 uint64_t iregs[MD_CONTEXT_ARM64_GPR_COUNT]; member
150 uint64_t iregs[MD_CONTEXT_ARM64_GPR_COUNT]; member
Dminidump_cpu_arm.h103 uint32_t iregs[MD_CONTEXT_ARM_GPR_COUNT]; member
Dminidump_cpu_mips.h100 uint64_t iregs[MD_CONTEXT_MIPS_GPR_COUNT]; member
/external/google-breakpad/src/client/mac/handler/
Dminidump_generator.cc501 #define AddGPR(a) context_ptr->iregs[a] = REGISTER_FROM_THREADSTATE(machine_state, r[a]) in WriteContextARM()
503 context_ptr->iregs[13] = REGISTER_FROM_THREADSTATE(machine_state, sp); in WriteContextARM()
504 context_ptr->iregs[14] = REGISTER_FROM_THREADSTATE(machine_state, lr); in WriteContextARM()
505 context_ptr->iregs[15] = REGISTER_FROM_THREADSTATE(machine_state, pc); in WriteContextARM()
560 context_ptr->iregs[a] = ARRAY_REGISTER_FROM_THREADSTATE(machine_state, x, a) in WriteContextARM64()
562 context_ptr->iregs[29] = REGISTER_FROM_THREADSTATE(machine_state, fp); in WriteContextARM64()
563 context_ptr->iregs[30] = REGISTER_FROM_THREADSTATE(machine_state, lr); in WriteContextARM64()
564 context_ptr->iregs[31] = REGISTER_FROM_THREADSTATE(machine_state, sp); in WriteContextARM64()
565 context_ptr->iregs[32] = REGISTER_FROM_THREADSTATE(machine_state, pc); in WriteContextARM64()