commit | f362cfdf63b7b83850f4b47953aba34ebece8cd5 | [log] [tgz] |
---|---|---|
author | ChiaHungDuan <chiahungduan@google.com> | Mon Feb 05 14:36:04 2024 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Feb 05 14:36:51 2024 -0800 |
tree | 4215d2b5d4862fb8fcac13e0c79a3fb6dc7d86dc | |
parent | 8f2b20bd35697c3651fe90e43cd6092606539b11 [diff] |
[scudo] Add ScopedTSD to avoid releasing TSD manually (#80061) This makes the use of TSD be RAII style and avoid the exposing of the type of TSDs. Also move some thread safety analyses from static to runtime because of its limitation. Even we mark some code path as NO_THREAD_SAFETY_ANALYSIS but we still have the `assertLocked()` cover the correctness. GitOrigin-RevId: 8ce036d539cdaaee50ce7c63f963b7d68c43282e