commit | 1af21effefbd57060f6e215e893ccddd10776f2a | [log] [tgz] |
---|---|---|
author | Sim Sun <simsun@fb.com> | Wed Mar 02 22:15:27 2022 -0800 |
committer | Christopher Ferris <cferris@google.com> | Thu Mar 03 10:40:56 2022 -0800 |
tree | 65d7fd8a5b9f0183014df71e386c5b2aa2e4a6fb | |
parent | 875fd55938fe993973948bfb59b9c3814c338ef4 [diff] |
Allow unwinding main thread in ThreadUnwinder. The check in ThreadUnwinder was overly aggressive, it should only disallow unwinding itself. Unfortunately, it only disallowed unwinding the main thread. Add new unit tests to verify this behavior. Test: New unit tests pass that verify thread unwinding behavior. Signed-off-by: Sim Sun <simsun@fb.com> Change-Id: If75399911f2f98f3155592fc292341d7b9e5e023