Kyle Huey
78caecf8f3
Special case DUMMY_SP to emit line 0/column 0 locations on DWARF platforms.
...
Line 0 has a special meaning in DWARF. From the version 5 spec:
The compiler may emit the value 0 in cases
where an instruction cannot be attributed to any
source line.
DUMMY_SP spans cannot be attributed to any line. However, because rustc
internally stores line numbers starting at zero, lookup_debug_loc() adjusts
every line number by one. Special casing DUMMY_SP to actually emit line 0
ensures rustc communicates to the debugger that there's no meaningful source
code for this instruction, rather than telling the debugger to jump to line 1
randomly.
2024-08-03 21:18:52 -07:00
..
2024-07-15 13:01:20 -04:00
2024-08-01 14:25:19 +02:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-07-15 12:40:10 -04:00
2024-07-29 20:04:55 +03:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-07-29 17:46:44 +02:00
2024-06-12 15:49:10 +10:00
2024-07-31 23:20:11 +02:00
2024-08-01 10:40:45 +00:00
2024-07-29 07:41:33 +00:00
2024-07-29 07:41:33 +00:00
2024-08-03 21:18:52 -07:00
2024-08-01 08:33:28 +02:00
2024-08-02 06:43:44 +02:00
2024-07-30 17:49:08 +00:00
2024-06-12 15:49:10 +10:00
2024-07-30 14:08:02 +00:00
2024-07-29 17:50:12 +01:00
2024-07-29 08:26:52 +10:00
2024-08-01 18:53:42 +00:00
2024-07-30 18:28:43 -05:00
2024-07-30 17:49:08 +00:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-07-30 10:39:33 +00:00
2024-07-29 08:26:52 +10:00
2024-07-31 12:24:26 -04:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-06-30 16:42:53 +00:00
2024-07-29 14:38:33 +03:00
2024-08-01 10:40:45 +00:00
2024-07-29 08:26:52 +10:00
2024-08-01 14:25:19 +02:00
2024-07-31 23:20:09 +02:00
2024-07-30 10:22:48 +02:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-08-02 06:43:44 +02:00
2024-08-01 15:49:25 +02:00
2024-07-29 11:59:47 -04:00
2024-08-01 15:49:25 +02:00
2024-08-01 15:49:25 +02:00
2024-07-30 04:31:54 +02:00
2024-08-01 18:43:41 +02:00
2024-07-29 08:26:52 +10:00
2024-07-31 20:28:00 +00:00
2024-07-31 16:03:27 +10:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-07-31 23:20:09 +02:00
2024-07-29 17:46:42 +02:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-07-30 03:22:27 +00:00
2024-07-29 08:26:52 +10:00
2024-08-01 00:50:11 +02:00
2024-07-31 23:20:12 +02:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00
2024-07-30 17:49:08 +00:00
2024-07-30 04:31:54 +02:00
2024-07-29 08:26:52 +10:00
2024-07-29 08:26:52 +10:00