================ ---------------- kevinsala wrote: I believe it's a different case. Those were static file-scope mutexes, and these can be data members inside the state class. We have several mutexes inside classes in the plugins. https://github.com/llvm/llvm-project/pull/216374