ributzka added a comment. We could invoke clang with the `-stats` option and compare the result against the expected number of stat calls. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D136019/new/ https://reviews.llvm.org/D136019