Commit 055407c8 authored by Alex Light's avatar Alex Light
Browse files

Correctly handle instrumenting threads multiple times.

We had a problem where if threads were instrumented multiple times we
would have CHECK failures as the final non-upcall frame would have an
unexpected return-pc. This changes the check logic to ensure that we
are robust with respect to that. This could happen when a thread was
instrumented while tracing was enabled.

Test: ./test.py --host --trace --ntrace --stream -j50
Bug: 67384421
Change-Id: Ic5aadf9e7db964aea653ac57a4d36eccbeac699d
parent e4827a83
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment