Wesley Wiser
34d90a46da
Fix line numbers for MIR inlined code
...
`should_collapse_debuginfo` detects if the specified span is part of a
macro expansion however it does this by checking if the span is anything
other than a normal (non-expanded) kind, then the span sequence is
walked backwards to the root span.
This doesn't work when the MIR inliner inlines code as it creates spans
with expansion information set to `ExprKind::Inlined` and results in the
line number being attributed to the inline callsite rather than the
normal line number of the inlined code.
2022-10-14 18:44:30 -04:00
..
2022-10-12 17:49:10 +05:30
2022-10-12 22:13:23 +05:30
2022-10-10 14:20:16 +01:00
2022-10-10 02:31:37 +00:00
2022-09-29 16:49:04 +09:00
2022-10-14 16:19:15 +05:30
2022-10-10 02:31:37 +00:00
2022-10-14 12:57:56 +08:00
2022-10-02 13:42:14 +00:00
2022-10-14 16:19:15 +05:30
2022-10-13 09:41:25 +09:00
2022-10-14 16:19:15 +05:30
2022-10-14 12:57:56 +08:00
2022-10-06 15:49:44 +11:00
2022-10-13 00:53:46 +08:00
2022-10-14 04:35:22 +00:00
2022-10-12 16:55:28 -04:00
2022-10-14 12:57:56 +08:00
2022-10-12 17:48:31 +00:00
2022-10-12 17:49:10 +05:30
2022-10-14 16:19:15 +05:30
2022-10-10 00:09:42 +09:00
2022-10-10 00:09:42 +09:00
2022-09-29 16:49:04 +09:00
2022-10-14 12:57:56 +08:00
2022-10-12 17:49:10 +05:30
2022-09-29 16:49:04 +09:00
2022-10-14 12:57:56 +08:00
2022-10-14 12:57:56 +08:00
2022-09-26 16:51:18 -07:00
2022-10-10 14:20:16 +01:00
2022-10-13 07:35:36 -04:00
2022-10-14 18:44:30 -04:00
2022-10-14 16:19:16 +05:30
2022-10-08 14:38:18 +02:00
2022-10-08 14:38:19 +02:00
2022-10-06 03:01:57 +00:00
2022-10-14 12:57:56 +08:00
2022-09-28 13:47:17 -07:00
2022-10-14 12:57:56 +08:00
2022-09-29 16:49:04 +09:00
2022-10-12 21:03:47 +00:00
2022-10-07 09:33:46 -05:00
2022-10-10 14:20:16 +01:00
2022-10-14 16:19:15 +05:30
2022-10-09 07:09:57 +00:00
2022-09-26 10:14:45 +02:00
2022-10-14 16:19:15 +05:30
2022-10-14 18:44:30 -04:00
2022-10-14 12:57:56 +08:00
2022-10-14 12:57:56 +08:00
2022-10-14 16:19:15 +05:30
2022-10-07 07:10:40 -05:00
2022-10-07 07:06:19 -05:00
2022-10-14 12:57:56 +08:00
2022-09-29 16:49:04 +09:00