Felipe de Azevedo Piovezan
ddcc601353
[CoroSplit][DebugInfo] Adjust heuristic for moving DIScope of funclets ( #108611 )
...
CoroSplit has a heuristic where the scope line for funclets is adjusted
to match the line of the suspend intrinsic that caused the split. This
is useful as it avoids a jump on the line table from the original
function declaration to the line where the split happens.
However, very often using the line of the split is not ideal: if we can
avoid it, we should not have a line entry for the split location, as
this would cause breakpoints by line to match against two functions: the
funclet before and the funclet after the split.
This patch adjusts the heuristics to look for the first instruction with
a non-zero line number after the split. In other words, this patch makes
breakpoints on `await foo()` lines behave much more like a regular
function call.
2024-09-13 15:25:11 -07:00
..
2024-08-09 13:25:04 +01:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2024-08-09 13:25:04 +01:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2024-08-09 13:25:04 +01:00
2023-09-21 22:52:05 -07:00
2023-09-22 20:29:44 +08:00
2024-02-21 16:35:07 +00:00
2024-02-21 16:35:07 +00:00
2024-02-05 11:57:34 +01:00
2023-09-14 09:02:58 +08:00
2024-02-21 16:35:07 +00:00
2024-02-05 11:57:34 +01:00
2024-02-05 11:57:34 +01:00
2023-04-20 17:24:01 +02:00
2024-02-20 11:58:44 +09:00
2024-02-05 11:57:34 +01:00
2023-09-08 12:32:06 -07:00
2024-02-21 16:35:07 +00:00
2024-02-21 16:35:07 +00:00
2024-05-23 22:32:54 +08:00
2024-05-15 15:29:08 +02:00
2024-05-15 15:29:08 +02:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-01-03 13:57:51 +01:00
2023-01-03 13:57:51 +01:00
2024-08-26 09:43:23 +08:00
2024-06-14 15:07:27 +01:00
2024-08-26 09:43:23 +08:00
2024-05-23 10:01:37 -07:00
2024-08-26 09:43:23 +08:00
2024-08-28 17:02:12 +08:00
2024-06-14 15:07:27 +01:00
2024-06-14 15:07:27 +01:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-04-05 15:55:06 +02:00
2024-06-20 19:39:19 +02:00
2024-06-20 19:39:19 +02:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-04-20 17:24:01 +02:00
2023-01-03 13:57:51 +01:00
2024-08-09 13:25:04 +01:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-01-03 13:57:51 +01:00
2023-11-09 14:42:07 +08:00
2023-09-15 09:54:38 -07:00
2024-08-09 13:25:04 +01:00
2024-08-26 07:56:45 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-11-26 09:22:12 -05:00
2024-01-24 15:25:29 +01:00
2024-01-24 15:25:29 +01:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2024-01-24 15:25:29 +01:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2024-01-24 15:25:29 +01:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2024-08-09 13:25:04 +01:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2024-09-08 23:09:20 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-12-13 12:34:37 +00:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2024-05-15 15:29:08 +02:00
2024-05-15 15:29:08 +02:00
2024-05-15 15:29:08 +02:00
2024-05-15 15:29:08 +02:00
2024-05-15 15:29:08 +02:00
2024-05-15 15:29:08 +02:00
2024-05-15 15:29:08 +02:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2024-05-15 15:29:08 +02:00
2023-11-15 11:12:59 -08:00
2023-11-15 11:12:59 -08:00
2024-05-15 15:29:08 +02:00
2023-09-15 09:54:38 -07:00
2024-05-15 15:29:08 +02:00
2023-09-15 09:54:38 -07:00
2023-07-12 14:35:55 +02:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2024-01-24 15:25:29 +01:00
2024-09-08 23:09:40 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2024-09-12 10:45:20 -07:00
2024-05-24 23:57:12 -07:00
2023-09-15 09:54:38 -07:00
2023-09-15 09:54:38 -07:00
2023-01-03 13:57:51 +01:00
2024-09-13 15:25:11 -07:00