OSDN Git Service

Verify at least 2 frames out of signal handler.
authorChristopher Ferris <cferris@google.com>
Thu, 23 Mar 2017 02:05:50 +0000 (19:05 -0700)
committerChristopher Ferris <cferris@google.com>
Thu, 23 Mar 2017 16:45:10 +0000 (09:45 -0700)
commitac2f3dd5cbea96a2a101791b6808b9437382e184
tree9c4fdb51a506261e21373106590df93516dc0826
parent4d099d1576105faa53b58097b4f816231f676431
Verify at least 2 frames out of signal handler.

Modify the test slightly to make sure that the unwinder properly unwinds
through at least 2 frames outside of the signal handler. This guarantees
that if the first frame outside of the handler happens to be garbage,
this test will fail.

Bug: 34468756

Test: Ran the unit tests on fugu, angler (both 32 bit and 64 bit).
Change-Id: I6b76ac9fc1df9ed6fd5bbcc6f5fa4bf458354dff
tests/stack_unwinding_test.cpp