Files
clang-p2996/clang/lib/Analysis/ProgramPoint.cpp
Arseniy Zaostrovnykh c1d5be8f7f [analyzer] Add time-trace scopes for high-level analyzer steps (#125508)
Specifically, add a scope for 
- each work-list step,
- each entry point,
- each checker run within a step, and
- bug-suppression phase at the end of the analysis of an entry-point.

These scopes add no perceptible run-time overhead when time-tracing is
disabled. You can enable it and generate a time trace using the
`-ftime-trace=file.json` option.

See also the RFC:
https://discourse.llvm.org/t/analyzer-rfc-ftime-trace-time-scopes-for-steps-and-entry-points/84343

--
CPP-6065
2025-02-05 17:22:18 +01:00

11 KiB