Home
last modified time | relevance | path

Searched refs:context_validity (Results 1 – 16 of 16) sorted by relevance

/external/google-breakpad/src/processor/
Dstackwalk_common.cc130 if ((frame_x86->context_validity & StackFrameX86::CONTEXT_VALID_ESP) && in PrintStackContents()
131 (prev_frame_x86->context_validity & StackFrameX86::CONTEXT_VALID_ESP)) { in PrintStackContents()
141 if ((frame_amd64->context_validity & StackFrameAMD64::CONTEXT_VALID_RSP) && in PrintStackContents()
142 (prev_frame_amd64->context_validity & in PrintStackContents()
152 if ((frame_arm->context_validity & StackFrameARM::CONTEXT_VALID_SP) && in PrintStackContents()
153 (prev_frame_arm->context_validity & StackFrameARM::CONTEXT_VALID_SP)) { in PrintStackContents()
163 if ((frame_arm64->context_validity & StackFrameARM64::CONTEXT_VALID_SP) && in PrintStackContents()
164 (prev_frame_arm64->context_validity & in PrintStackContents()
295 if (frame_x86->context_validity & StackFrameX86::CONTEXT_VALID_EIP) in PrintStack()
297 if (frame_x86->context_validity & StackFrameX86::CONTEXT_VALID_ESP) in PrintStack()
[all …]
Dstackwalker_arm.cc72 frame->context_validity = context_frame_validity_; in GetContextFrame()
95 if (last_frame->context_validity & StackFrameARM::RegisterValidFlag(i)) in GetCallerByCFIFrameInfo()
112 frame->context_validity |= StackFrameARM::RegisterValidFlag(i); in GetCallerByCFIFrameInfo()
114 } else if (4 <= i && i <= 11 && (last_frame->context_validity & in GetCallerByCFIFrameInfo()
120 frame->context_validity |= StackFrameARM::RegisterValidFlag(i); in GetCallerByCFIFrameInfo()
125 if (!(frame->context_validity & StackFrameARM::CONTEXT_VALID_PC)) { in GetCallerByCFIFrameInfo()
130 frame->context_validity |= StackFrameARM::CONTEXT_VALID_PC; in GetCallerByCFIFrameInfo()
135 frame->context_validity |= StackFrameARM::CONTEXT_VALID_PC; in GetCallerByCFIFrameInfo()
136 frame->context_validity |= StackFrameARM::CONTEXT_VALID_LR; in GetCallerByCFIFrameInfo()
144 if (!(frame->context_validity & StackFrameARM::CONTEXT_VALID_SP)) { in GetCallerByCFIFrameInfo()
[all …]
Dstackwalker_arm64.cc71 frame->context_validity = context_frame_validity_; in GetContextFrame()
94 if (last_frame->context_validity & StackFrameARM64::RegisterValidFlag(i)) in GetCallerByCFIFrameInfo()
112 frame->context_validity |= StackFrameARM64::RegisterValidFlag(i); in GetCallerByCFIFrameInfo()
114 } else if (19 <= i && i <= 29 && (last_frame->context_validity & in GetCallerByCFIFrameInfo()
121 frame->context_validity |= StackFrameARM64::RegisterValidFlag(i); in GetCallerByCFIFrameInfo()
126 if (!(frame->context_validity & StackFrameARM64::CONTEXT_VALID_PC)) { in GetCallerByCFIFrameInfo()
130 frame->context_validity |= StackFrameARM64::CONTEXT_VALID_PC; in GetCallerByCFIFrameInfo()
135 if (!(frame->context_validity & StackFrameARM64::CONTEXT_VALID_SP)) { in GetCallerByCFIFrameInfo()
139 frame->context_validity |= StackFrameARM64::CONTEXT_VALID_SP; in GetCallerByCFIFrameInfo()
147 if ((frame->context_validity & essentials) != essentials) in GetCallerByCFIFrameInfo()
[all …]
Dstackwalker_mips.cc78 frame->context_validity = StackFrameMIPS::CONTEXT_VALID_ALL; in GetContextFrame()
141 frame->context_validity |= StackFrameMIPS::RegisterValidFlag(i); in GetCallerByCFIFrameInfo()
144 (last_frame->context_validity & in GetCallerByCFIFrameInfo()
152 frame->context_validity |= StackFrameMIPS::RegisterValidFlag(i); in GetCallerByCFIFrameInfo()
158 frame->context_validity |= StackFrameMIPS::CONTEXT_VALID_PC; in GetCallerByCFIFrameInfo()
161 frame->context_validity |= StackFrameMIPS::CONTEXT_VALID_RA; in GetCallerByCFIFrameInfo()
284 frame->context_validity |= StackFrameMIPS::CONTEXT_VALID_PC; in GetCallerByStackScan()
288 frame->context_validity |= StackFrameMIPS::CONTEXT_VALID_SP; in GetCallerByStackScan()
290 frame->context_validity |= StackFrameMIPS::CONTEXT_VALID_FP; in GetCallerByStackScan()
294 frame->context_validity |= StackFrameMIPS::CONTEXT_VALID_RA; in GetCallerByStackScan()
Dstackwalker_amd64.cc106 assert(context_validity & StackFrameAMD64::CONTEXT_VALID_RIP); in ReturnAddress()
121 frame->context_validity = StackFrameAMD64::CONTEXT_VALID_ALL; in GetContextFrame()
136 last_frame->context, last_frame->context_validity, in GetCallerByCFIFrameInfo()
137 &frame->context, &frame->context_validity)) in GetCallerByCFIFrameInfo()
143 if ((frame->context_validity & essentials) != essentials) in GetCallerByCFIFrameInfo()
187 frame->context_validity = StackFrameAMD64::CONTEXT_VALID_RIP | in GetCallerByFramePointerRecovery()
218 frame->context_validity = StackFrameAMD64::CONTEXT_VALID_RIP | in GetCallerByStackScan()
223 if (last_frame->context_validity & StackFrameAMD64::CONTEXT_VALID_RBP) { in GetCallerByStackScan()
233 frame->context_validity |= StackFrameAMD64::CONTEXT_VALID_RBP; in GetCallerByStackScan()
239 frame->context_validity |= StackFrameAMD64::CONTEXT_VALID_RBP; in GetCallerByStackScan()
Dstackwalker_x86.cc116 assert(context_validity & StackFrameX86::CONTEXT_VALID_EIP); in ReturnAddress()
131 frame->context_validity = StackFrameX86::CONTEXT_VALID_ALL; in GetContextFrame()
352 if ((StackFrameX86::CONTEXT_VALID_EBP & last_frame->context_validity) != 0 && in GetCallerByWindowsFrameInfo()
484 frame->context_validity = StackFrameX86::CONTEXT_VALID_EIP | in GetCallerByWindowsFrameInfo()
492 frame->context_validity |= StackFrameX86::CONTEXT_VALID_EBX; in GetCallerByWindowsFrameInfo()
496 frame->context_validity |= StackFrameX86::CONTEXT_VALID_ESI; in GetCallerByWindowsFrameInfo()
500 frame->context_validity |= StackFrameX86::CONTEXT_VALID_EDI; in GetCallerByWindowsFrameInfo()
515 last_frame->context, last_frame->context_validity, in GetCallerByCFIFrameInfo()
516 &frame->context, &frame->context_validity)) in GetCallerByCFIFrameInfo()
523 if ((frame->context_validity & essentials) != essentials) in GetCallerByCFIFrameInfo()
[all …]
Dstackwalker_x86_unittest.cc273 EXPECT_EQ(StackFrameX86::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
286 frame1->context_validity); in TEST_F()
337 ASSERT_EQ(StackFrameX86::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
351 frame1->context_validity); in TEST_F()
403 ASSERT_EQ(StackFrameX86::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
417 frame1->context_validity); in TEST_F()
469 ASSERT_EQ(StackFrameX86::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
528 ASSERT_EQ(StackFrameX86::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
545 frame1->context_validity); in TEST_F()
609 ASSERT_EQ(StackFrameX86::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
[all …]
Dstackwalker_arm_unittest.cc264 ASSERT_EQ(StackFrameARM::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
271 frame1->context_validity); in TEST_F()
279 frame2->context_validity); in TEST_F()
333 ASSERT_EQ(StackFrameARM::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
342 frame1->context_validity); in TEST_F()
401 ASSERT_EQ(StackFrameARM::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
408 frame1->context_validity); in TEST_F()
464 ASSERT_EQ(StackFrameARM::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
569 ASSERT_EQ(context_frame_validity, frame0->context_validity); in CheckWalk()
575 ASSERT_EQ(expected_validity, frame1->context_validity); in CheckWalk()
[all …]
Dstackwalker_arm64_unittest.cc242 frame0->context_validity); in TEST_F()
249 frame1->context_validity); in TEST_F()
257 frame2->context_validity); in TEST_F()
312 frame0->context_validity); in TEST_F()
321 frame1->context_validity); in TEST_F()
381 frame0->context_validity); in TEST_F()
388 frame1->context_validity); in TEST_F()
445 frame0->context_validity); in TEST_F()
508 frame0->context_validity); in TEST_F()
517 frame1->context_validity); in TEST_F()
[all …]
Dstackwalker_amd64_unittest.cc283 ASSERT_EQ(StackFrameAMD64::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
291 frame1->context_validity); in TEST_F()
300 frame2->context_validity); in TEST_F()
356 ASSERT_EQ(StackFrameAMD64::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
365 frame1->context_validity); in TEST_F()
431 ASSERT_EQ(StackFrameAMD64::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
488 ASSERT_EQ(StackFrameAMD64::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
498 frame1->context_validity); in TEST_F()
569 ASSERT_EQ(StackFrameAMD64::CONTEXT_VALID_ALL, frame0->context_validity); in CheckWalk()
583 frame1->context_validity); in CheckWalk()
Dstackwalker_mips_unittest.cc276 ASSERT_EQ(StackFrameMIPS::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
285 frame1->context_validity); in TEST_F()
295 frame2->context_validity); in TEST_F()
350 ASSERT_EQ(StackFrameMIPS::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
361 frame1->context_validity); in TEST_F()
423 ASSERT_EQ(StackFrameMIPS::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
432 frame1->context_validity); in TEST_F()
495 ASSERT_EQ(StackFrameMIPS::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
599 ASSERT_EQ(StackFrameMIPS::CONTEXT_VALID_ALL, frame0->context_validity); in CheckWalk()
605 ASSERT_EQ(expected_validity, frame1->context_validity); in CheckWalk()
Dstackwalker_ppc64.cc67 frame->context_validity = StackFramePPC64::CONTEXT_VALID_ALL; in GetContextFrame()
120 frame->context_validity = StackFramePPC64::CONTEXT_VALID_SRR0 | in GetCallerFrame()
Dstackwalker_sparc.cc67 frame->context_validity = StackFrameSPARC::CONTEXT_VALID_ALL; in GetContextFrame()
130 frame->context_validity = StackFrameSPARC::CONTEXT_VALID_PC | in GetCallerFrame()
Dstackwalker_ppc.cc76 frame->context_validity = StackFramePPC::CONTEXT_VALID_ALL; in GetContextFrame()
129 frame->context_validity = StackFramePPC::CONTEXT_VALID_SRR0 | in GetCallerFrame()
/external/google-breakpad/src/google_breakpad/processor/
Dstack_frame_cpu.h75 context_validity(CONTEXT_VALID_NONE), in StackFrameX86()
92 int context_validity; member
112 StackFramePPC() : context(), context_validity(CONTEXT_VALID_NONE) {} in StackFramePPC()
123 int context_validity; member
138 StackFramePPC64() : context(), context_validity(CONTEXT_VALID_NONE) {} in StackFramePPC64()
149 int context_validity; member
177 StackFrameAMD64() : context(), context_validity(CONTEXT_VALID_NONE) {} in StackFrameAMD64()
194 int context_validity; member
207 StackFrameSPARC() : context(), context_validity(CONTEXT_VALID_NONE) {} in StackFrameSPARC()
218 int context_validity; member
[all …]
/external/google-breakpad/src/tools/mac/crash_report/
Dcrash_report.mm145 if (frame_x86->context_validity & StackFrameX86::CONTEXT_VALID_EIP)
147 if (frame_x86->context_validity & StackFrameX86::CONTEXT_VALID_ESP)
149 if (frame_x86->context_validity & StackFrameX86::CONTEXT_VALID_EBP)
151 if (frame_x86->context_validity & StackFrameX86::CONTEXT_VALID_EBX)
153 if (frame_x86->context_validity & StackFrameX86::CONTEXT_VALID_ESI)
155 if (frame_x86->context_validity & StackFrameX86::CONTEXT_VALID_EDI)
157 if (frame_x86->context_validity == StackFrameX86::CONTEXT_VALID_ALL) {
167 if ((frame_ppc->context_validity & StackFramePPC::CONTEXT_VALID_ALL) ==
185 if (frame_ppc->context_validity & StackFramePPC::CONTEXT_VALID_SRR0)
187 if (frame_ppc->context_validity & StackFramePPC::CONTEXT_VALID_GPR1)