mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 23:56:05 +00:00

Ideally, we want to assert that all the operations on Cache/QuarantineCache always have the `Mutex` acquired. However, the current architecture of accessing TSD is not easy to cooperate with the thread-safety analysis because of pointer aliasing. In alternative, we add the getters for accessing TSD member and attach proper thread-safety annotations on them. Reviewed By: cferris Differential Revision: https://reviews.llvm.org/D142151
Compiler-RT ================================ This directory and its subdirectories contain source code for the compiler support routines. Compiler-RT is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt. ================================