Home
last modified time | relevance | path

Searched refs:context_validity (Results 1 – 17 of 17) 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.cc73 frame->context_validity = context_frame_validity_; in GetContextFrame()
96 if (last_frame->context_validity & StackFrameARM::RegisterValidFlag(i)) in GetCallerByCFIFrameInfo()
113 frame->context_validity |= StackFrameARM::RegisterValidFlag(i); in GetCallerByCFIFrameInfo()
115 } else if (4 <= i && i <= 11 && (last_frame->context_validity & in GetCallerByCFIFrameInfo()
121 frame->context_validity |= StackFrameARM::RegisterValidFlag(i); in GetCallerByCFIFrameInfo()
126 if (!(frame->context_validity & StackFrameARM::CONTEXT_VALID_PC)) { in GetCallerByCFIFrameInfo()
131 frame->context_validity |= StackFrameARM::CONTEXT_VALID_PC; in GetCallerByCFIFrameInfo()
136 frame->context_validity |= StackFrameARM::CONTEXT_VALID_PC; in GetCallerByCFIFrameInfo()
137 frame->context_validity |= StackFrameARM::CONTEXT_VALID_LR; in GetCallerByCFIFrameInfo()
145 if (!(frame->context_validity & StackFrameARM::CONTEXT_VALID_SP)) { in GetCallerByCFIFrameInfo()
[all …]
Dstackwalker_mips.cc90 frame->context_validity = StackFrameMIPS::CONTEXT_VALID_ALL; in GetContextFrame()
153 frame->context_validity |= StackFrameMIPS::RegisterValidFlag(i); in GetCallerByCFIFrameInfo()
156 (last_frame->context_validity & in GetCallerByCFIFrameInfo()
164 frame->context_validity |= StackFrameMIPS::RegisterValidFlag(i); in GetCallerByCFIFrameInfo()
170 frame->context_validity |= StackFrameMIPS::CONTEXT_VALID_PC; in GetCallerByCFIFrameInfo()
173 frame->context_validity |= StackFrameMIPS::CONTEXT_VALID_RA; in GetCallerByCFIFrameInfo()
220 frame->context_validity |= StackFrameMIPS::RegisterValidFlag(i); in GetCallerByCFIFrameInfo()
223 (last_frame->context_validity & in GetCallerByCFIFrameInfo()
231 frame->context_validity |= StackFrameMIPS::RegisterValidFlag(i); in GetCallerByCFIFrameInfo()
237 frame->context_validity |= StackFrameMIPS::CONTEXT_VALID_PC; in GetCallerByCFIFrameInfo()
[all …]
Dstackwalker_arm64.cc92 frame->context_validity = context_frame_validity_; in GetContextFrame()
117 if (last_frame->context_validity & StackFrameARM64::RegisterValidFlag(i)) in GetCallerByCFIFrameInfo()
135 frame->context_validity |= StackFrameARM64::RegisterValidFlag(i); in GetCallerByCFIFrameInfo()
137 } else if (19 <= i && i <= 29 && (last_frame->context_validity & in GetCallerByCFIFrameInfo()
144 frame->context_validity |= StackFrameARM64::RegisterValidFlag(i); in GetCallerByCFIFrameInfo()
149 if (!(frame->context_validity & StackFrameARM64::CONTEXT_VALID_PC)) { in GetCallerByCFIFrameInfo()
153 frame->context_validity |= StackFrameARM64::CONTEXT_VALID_PC; in GetCallerByCFIFrameInfo()
158 if (!(frame->context_validity & StackFrameARM64::CONTEXT_VALID_SP)) { in GetCallerByCFIFrameInfo()
162 frame->context_validity |= StackFrameARM64::CONTEXT_VALID_SP; in GetCallerByCFIFrameInfo()
170 if ((frame->context_validity & essentials) != essentials) in GetCallerByCFIFrameInfo()
[all …]
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()
210 frame->context_validity = StackFrameAMD64::CONTEXT_VALID_RIP | in GetCallerByFramePointerRecovery()
241 frame->context_validity = StackFrameAMD64::CONTEXT_VALID_RIP | in GetCallerByStackScan()
246 if (last_frame->context_validity & StackFrameAMD64::CONTEXT_VALID_RBP) { in GetCallerByStackScan()
256 frame->context_validity |= StackFrameAMD64::CONTEXT_VALID_RBP; in GetCallerByStackScan()
262 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()
210 if (last_frame->context_validity & StackFrameX86::CONTEXT_VALID_EBX) in GetCallerByWindowsFrameInfo()
346 if (last_frame->context_validity & StackFrameX86::CONTEXT_VALID_EBX) in GetCallerByWindowsFrameInfo()
362 if ((StackFrameX86::CONTEXT_VALID_EBP & last_frame->context_validity) != 0 && in GetCallerByWindowsFrameInfo()
494 frame->context_validity = StackFrameX86::CONTEXT_VALID_EIP | in GetCallerByWindowsFrameInfo()
502 frame->context_validity |= StackFrameX86::CONTEXT_VALID_EBX; in GetCallerByWindowsFrameInfo()
506 frame->context_validity |= StackFrameX86::CONTEXT_VALID_ESI; in GetCallerByWindowsFrameInfo()
510 frame->context_validity |= StackFrameX86::CONTEXT_VALID_EDI; in GetCallerByWindowsFrameInfo()
525 last_frame->context, last_frame->context_validity, in GetCallerByCFIFrameInfo()
[all …]
Dstackwalker_amd64_unittest.cc284 ASSERT_EQ(StackFrameAMD64::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
292 frame1->context_validity); in TEST_F()
301 frame2->context_validity); in TEST_F()
357 ASSERT_EQ(StackFrameAMD64::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
366 frame1->context_validity); in TEST_F()
469 ASSERT_EQ(StackFrameAMD64::CONTEXT_VALID_ALL, frame->context_validity); in TEST_F()
483 frame->context_validity); in TEST_F()
497 frame->context_validity); in TEST_F()
545 ASSERT_EQ(StackFrameAMD64::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
552 frame1->context_validity); in TEST_F()
[all …]
Dstackwalker_x86_unittest.cc274 EXPECT_EQ(StackFrameX86::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
287 frame1->context_validity); in TEST_F()
338 ASSERT_EQ(StackFrameX86::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
352 frame1->context_validity); in TEST_F()
404 ASSERT_EQ(StackFrameX86::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
418 frame1->context_validity); in TEST_F()
470 ASSERT_EQ(StackFrameX86::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
529 ASSERT_EQ(StackFrameX86::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
546 frame1->context_validity); in TEST_F()
610 ASSERT_EQ(StackFrameX86::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
[all …]
Dstackwalker_arm_unittest.cc265 ASSERT_EQ(StackFrameARM::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
272 frame1->context_validity); in TEST_F()
280 frame2->context_validity); in TEST_F()
334 ASSERT_EQ(StackFrameARM::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
343 frame1->context_validity); in TEST_F()
402 ASSERT_EQ(StackFrameARM::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
409 frame1->context_validity); in TEST_F()
465 ASSERT_EQ(StackFrameARM::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
570 ASSERT_EQ(context_frame_validity, frame0->context_validity); in CheckWalk()
576 ASSERT_EQ(expected_validity, frame1->context_validity); in CheckWalk()
[all …]
Dstackwalker_arm64_unittest.cc243 frame0->context_validity); in TEST_F()
250 frame1->context_validity); in TEST_F()
258 frame2->context_validity); in TEST_F()
313 frame0->context_validity); in TEST_F()
322 frame1->context_validity); in TEST_F()
382 frame0->context_validity); in TEST_F()
389 frame1->context_validity); in TEST_F()
446 frame0->context_validity); in TEST_F()
509 frame0->context_validity); in TEST_F()
518 frame1->context_validity); in TEST_F()
[all …]
Dstackwalker_mips_unittest.cc280 ASSERT_EQ(StackFrameMIPS::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
289 frame1->context_validity); in TEST_F()
299 frame2->context_validity); in TEST_F()
355 ASSERT_EQ(StackFrameMIPS::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
366 frame1->context_validity); in TEST_F()
429 ASSERT_EQ(StackFrameMIPS::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
438 frame1->context_validity); in TEST_F()
502 ASSERT_EQ(StackFrameMIPS::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
603 ASSERT_EQ(StackFrameMIPS::CONTEXT_VALID_ALL, frame0->context_validity); in CheckWalk()
609 ASSERT_EQ(expected_validity, frame1->context_validity); in CheckWalk()
Dstackwalker_mips64_unittest.cc285 ASSERT_EQ(StackFrameMIPS::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
294 frame1->context_validity); in TEST_F()
304 frame2->context_validity); in TEST_F()
361 ASSERT_EQ(StackFrameMIPS::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
372 frame1->context_validity); in TEST_F()
436 ASSERT_EQ(StackFrameMIPS::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
445 frame1->context_validity); in TEST_F()
510 ASSERT_EQ(StackFrameMIPS::CONTEXT_VALID_ALL, frame0->context_validity); in TEST_F()
612 ASSERT_EQ(StackFrameMIPS::CONTEXT_VALID_ALL, frame0->context_validity); in CheckWalk()
618 ASSERT_EQ(expected_validity, frame1->context_validity); in CheckWalk()
Dstackwalker_ppc64.cc68 frame->context_validity = StackFramePPC64::CONTEXT_VALID_ALL; in GetContextFrame()
121 frame->context_validity = StackFramePPC64::CONTEXT_VALID_SRR0 | in GetCallerFrame()
Dstackwalker_sparc.cc67 frame->context_validity = StackFrameSPARC::CONTEXT_VALID_ALL; in GetContextFrame()
138 frame->context_validity = StackFrameSPARC::CONTEXT_VALID_PC | in GetCallerFrame()
Dstackwalker_ppc.cc77 frame->context_validity = StackFramePPC::CONTEXT_VALID_ALL; in GetContextFrame()
130 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)