Commit f5c4f27
authored
[analyzer] Add -ftime-trace scopes for region-store bindings and removeDead (#125884)
From investigation of a few slow analysis cases, I discovered that
`RegionStoreManager::bind*` and `ExprEngine::removeDead` are often the
slowest actions. This change adds explicit scope to the time trace
generated by `-ftime-trace` to enable easy diagnostics of the cases when
these functions are the slowdown culprits.
--
CPP-61091 parent 3041dd5 commit f5c4f27
File tree
4 files changed
+61
-0
lines changed- clang
- lib/StaticAnalyzer/Core
- test/Analysis
4 files changed
+61
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| |||
1031 | 1032 | | |
1032 | 1033 | | |
1033 | 1034 | | |
| 1035 | + | |
1034 | 1036 | | |
1035 | 1037 | | |
1036 | 1038 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
115 | 123 | | |
116 | 124 | | |
117 | 125 | | |
| |||
2408 | 2416 | | |
2409 | 2417 | | |
2410 | 2418 | | |
| 2419 | + | |
| 2420 | + | |
2411 | 2421 | | |
2412 | 2422 | | |
2413 | 2423 | | |
| |||
2514 | 2524 | | |
2515 | 2525 | | |
2516 | 2526 | | |
| 2527 | + | |
| 2528 | + | |
2517 | 2529 | | |
2518 | 2530 | | |
2519 | 2531 | | |
| |||
2578 | 2590 | | |
2579 | 2591 | | |
2580 | 2592 | | |
| 2593 | + | |
| 2594 | + | |
2581 | 2595 | | |
2582 | 2596 | | |
2583 | 2597 | | |
| |||
2700 | 2714 | | |
2701 | 2715 | | |
2702 | 2716 | | |
| 2717 | + | |
| 2718 | + | |
2703 | 2719 | | |
2704 | 2720 | | |
2705 | 2721 | | |
| |||
2818 | 2834 | | |
2819 | 2835 | | |
2820 | 2836 | | |
| 2837 | + | |
| 2838 | + | |
2821 | 2839 | | |
2822 | 2840 | | |
2823 | 2841 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
0 commit comments