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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo