Commit 3e121f9
ZJIT: Write DEBUG_INFO before CODE_LOAD in jitdump
samply expects JIT_CODE_DEBUG_INFO to precede JIT_CODE_LOAD so it
can associate source line info with the code. Swap the record order.
This makes HIR instructions appear as source lines in the Firefox
Profiler when profiling with samply.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 7bbb2c6 commit 3e121f9
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | 207 | | |
213 | 208 | | |
214 | 209 | | |
| |||
230 | 225 | | |
231 | 226 | | |
232 | 227 | | |
| 228 | + | |
233 | 229 | | |
234 | 230 | | |
235 | 231 | | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| |||
0 commit comments