necto wrote: > Does this also work when CSA is called through clang-tidy? The analyzer > profiling data in missing in the `--enable-check-profile` output - see #73673?
As far as I know, it does not work out of the box with clang-tidy. Time tracing works only if you setup a profiler singleton instance with `llvm::timeTraceProfilerInitialize`, and it is invoked from the clang driver (clang/tools/driver/cc1_main.cpp) and some other non-clang tools, but not from clang-tidy. It should be relatively easy to add, but I don't want to extend the scope of this PR. https://github.com/llvm/llvm-project/pull/125508 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits