Commit 7994722
ZJIT: Use absolute addresses in jitdump debug entries
samply computes lookup addresses as debug_info.code_addr +
offset_relative_to_symbol, so the individual debug entry addr fields
must be absolute addresses, not relative to function start.
Also deduplicate entries at the same offset, keeping the first
(the instruction that actually starts emitting code there).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 3e121f9 commit 7994722
1 file changed
Lines changed: 13 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
217 | 220 | | |
| 221 | + | |
218 | 222 | | |
219 | 223 | | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
225 | 232 | | |
226 | 233 | | |
227 | 234 | | |
| |||
0 commit comments