Commit d50c85d
authored
[analyzer][NFC] Move PrettyStackTraceLocationContext into dispatchWorkItem (llvm#140035)
[analyzer][NFC] Move PrettyStackTraceLocationContext into
dispatchWorkItem
This change helps with ensuring that the abstract machine call stack is
only dumped exactly once no matter what checker callback we have the
crash in.
Note that `check::EndAnalysis` callbacks are resolved outside of
`dispatchWorkItem`, but that's the only checker callback that is outside
of `dispatchWorkItem`.
CPP-64761 parent 2ed8c27 commit d50c85d
File tree
3 files changed
+6
-19
lines changed- clang/lib/StaticAnalyzer/Core
3 files changed
+6
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
216 | 217 | | |
217 | 218 | | |
218 | 219 | | |
| 220 | + | |
219 | 221 | | |
220 | 222 | | |
221 | 223 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
968 | 968 | | |
969 | 969 | | |
970 | 970 | | |
971 | | - | |
972 | 971 | | |
973 | 972 | | |
974 | 973 | | |
| |||
2541 | 2540 | | |
2542 | 2541 | | |
2543 | 2542 | | |
2544 | | - | |
2545 | 2543 | | |
2546 | 2544 | | |
2547 | 2545 | | |
| |||
2808 | 2806 | | |
2809 | 2807 | | |
2810 | 2808 | | |
2811 | | - | |
2812 | | - | |
2813 | 2809 | | |
2814 | 2810 | | |
2815 | 2811 | | |
| |||
2935 | 2931 | | |
2936 | 2932 | | |
2937 | 2933 | | |
2938 | | - | |
2939 | | - | |
2940 | | - | |
2941 | | - | |
2942 | | - | |
2943 | | - | |
2944 | | - | |
| 2934 | + | |
| 2935 | + | |
| 2936 | + | |
2945 | 2937 | | |
2946 | 2938 | | |
2947 | 2939 | | |
| |||
3064 | 3056 | | |
3065 | 3057 | | |
3066 | 3058 | | |
3067 | | - | |
3068 | | - | |
3069 | | - | |
3070 | 3059 | | |
3071 | 3060 | | |
3072 | 3061 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
47 | | - | |
48 | | - | |
49 | 46 | | |
50 | 47 | | |
51 | 48 | | |
| |||
56 | 53 | | |
57 | 54 | | |
58 | 55 | | |
59 | | - | |
| 56 | + | |
60 | 57 | | |
61 | 58 | | |
62 | 59 | | |
| |||
253 | 250 | | |
254 | 251 | | |
255 | 252 | | |
256 | | - | |
257 | 253 | | |
258 | 254 | | |
259 | 255 | | |
| |||
0 commit comments