Also add new unit tests to verify this behavior.
Bug: 276934420
Test: New unit tests pass.
Test: Ran new unit tests without pthread_setname_np call and verified
Test: the tests fail.
Test: Force crash logd and verify log messages are not gathered.
Test: Force crash a logd thread and verify log messages are not gathered.
Change-Id: If8effef68f629432923cdc89e57d28ef5b8b4ce2
Merged-In: If8effef68f629432923cdc89e57d28ef5b8b4ce2
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| include/libdebuggerd | ||
| test | ||
| backtrace.cpp | ||
| gwp_asan.cpp | ||
| open_files_list.cpp | ||
| scudo.cpp | ||
| tombstone.cpp | ||
| tombstone_proto.cpp | ||
| tombstone_proto_to_text.cpp | ||
| utility.cpp | ||