commit | 7c2e7e31f6a544a6051e4d3f4e26a22a1c0707b7 | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Fri May 27 12:57:58 2022 -0700 |
committer | Christopher Ferris <cferris@google.com> | Fri May 27 13:05:56 2022 -0700 |
tree | a2b2012c214aab5bb70386f189296bcc9e744066 | |
parent | ab2d6cdc8fcab494f06effc7a9eb1855313bcf3b [diff] |
Fix fallback paths for dumping threads. In the fallback path, if the non-main thread is the target to be dumped, then no other threads are dumped when creating a tombstone. Fix this and add unit tests to verify that this all threads, including the main thread are dumped. Bug: 234058038 Test: All unit tests pass. Test: debuggerd -b media.swcodec process Test: debuggerd media.swcodec process Change-Id: Ibb75264f7b3847acdbab939a66902d986c0d0e5c