David Stenberg
97861981cc
[LiveDebugVariables] Fix a DBG_VALUE reordering issue ( #111124 )
...
LDV could reorder reinserted fragment and non-fragment debug values for
the same variable (compared to the input order), potentially resulting
in stale values being presented.
For example, before:
DBG_VALUE 1001, $noreg, !13 , !DIExpression(DW_OP_LLVM_fragment, 0, 16)
DBG_VALUE 1002, $noreg, !13 , !DIExpression(DW_OP_LLVM_fragment, 16, 16)
DBG_VALUE %0, $noreg, !13 , !DIExpression()
After (without this patch):
DBG_VALUE %stack.0, 0, !13 , !DIExpression()
DBG_VALUE 1002, $noreg, !13 , !DIExpression(DW_OP_LLVM_fragment, 16, 16)
DBG_VALUE 1001, $noreg, !13 , !DIExpression(DW_OP_LLVM_fragment, 0, 16)
It would also reorder DBG_VALUEs for different variables. Although that
does not matter for the debug information output, it resulted in some
noise in before/after pass diffs.
This should hopefully align so that instruction referencing and
DBG_VALUE emit debug instructions in the same order (see the
sdag-salvage-add.ll change).
2024-10-15 11:36:24 +02:00
..
2023-11-18 06:36:33 -08:00
2024-01-05 15:11:47 +00:00
2023-11-21 17:10:25 +00:00
2024-01-05 15:11:47 +00:00
2024-06-14 15:07:27 +01:00
2024-01-05 15:11:47 +00:00
2023-12-12 11:32:19 +00:00
2024-01-05 15:11:47 +00:00
2024-04-23 09:31:20 +01:00
2024-06-14 15:07:27 +01:00
2024-06-14 15:07:27 +01:00
2024-06-14 15:07:27 +01:00
2024-02-06 13:02:38 -08:00
2024-08-05 16:38:08 +02:00
2024-01-05 15:11:47 +00:00
2024-08-05 16:38:08 +02:00
2024-02-06 13:02:38 -08:00
2024-02-06 13:02:38 -08:00
2024-01-05 15:11:47 +00:00
2024-05-03 09:51:56 -07:00
2024-05-03 09:51:56 -07:00
2024-01-05 15:11:47 +00:00
2024-01-05 15:11:47 +00:00
2024-01-05 15:11:47 +00:00
2023-12-12 11:32:19 +00:00
2024-07-12 09:42:30 +01:00
2024-05-03 09:51:56 -07:00
2023-11-21 17:10:25 +00:00
2024-05-03 09:51:56 -07:00
2024-06-14 15:07:27 +01:00
2024-05-03 09:51:56 -07:00
2024-05-03 09:51:56 -07:00
2024-03-26 12:09:22 -07:00
2024-05-03 09:51:56 -07:00
2024-05-03 09:51:56 -07:00
2024-02-06 13:02:38 -08:00
2024-06-14 15:07:27 +01:00
2024-02-07 12:41:32 +00:00
2024-07-24 09:07:25 +01:00
2023-12-12 11:32:19 +00:00
2024-02-06 13:02:38 -08:00
2023-11-18 19:17:51 +08:00
2024-01-05 15:11:47 +00:00
2024-02-06 13:02:38 -08:00
2024-02-06 13:02:38 -08:00
2024-02-06 13:02:38 -08:00
2024-02-14 12:22:53 -08:00
2024-01-19 09:19:09 -08:00
2024-01-24 06:44:03 -08:00
2024-05-18 01:08:29 +00:00
2024-06-14 07:44:37 -07:00
2024-05-22 22:34:36 +00:00
2024-09-17 18:29:20 +01:00
2024-02-08 10:44:43 +00:00
2024-01-05 15:11:47 +00:00
2024-02-06 13:02:38 -08:00
2023-12-12 11:32:19 +00:00
2024-07-11 17:02:30 +01:00
2024-02-06 13:02:38 -08:00
2023-11-09 09:51:49 +00:00
2024-02-13 13:20:25 -08:00
2024-02-06 13:02:38 -08:00
2024-09-17 18:29:20 +01:00
2023-12-12 11:32:19 +00:00
2024-08-29 22:27:23 +01:00
2024-01-05 15:11:47 +00:00
2024-08-05 16:38:08 +02:00
2024-08-05 16:38:08 +02:00
2024-08-05 16:38:08 +02:00
2024-06-14 15:07:27 +01:00
2024-02-06 13:02:38 -08:00
2024-02-06 13:02:38 -08:00
2024-10-02 11:14:05 +01:00
2024-01-05 15:11:47 +00:00
2024-06-25 14:00:47 -07:00
2024-06-14 15:07:27 +01:00
2024-06-14 15:07:27 +01:00
2024-06-14 15:07:27 +01:00
2024-05-03 09:51:56 -07:00
2024-05-03 09:51:56 -07:00
2024-05-03 09:51:56 -07:00
2024-01-05 15:11:47 +00:00
2024-01-05 15:11:47 +00:00
2024-04-23 11:01:54 -07:00
2024-04-23 11:01:54 -07:00
2024-04-23 11:01:54 -07:00
2024-06-14 15:07:27 +01:00
2024-02-06 13:02:38 -08:00
2024-02-06 13:02:38 -08:00
2024-05-03 09:51:56 -07:00
2024-10-15 11:36:24 +02:00
2024-03-18 10:37:59 -04:00
2024-03-21 20:24:57 -04:00
2024-06-14 15:07:27 +01:00
2024-02-06 13:02:38 -08:00
2024-02-06 13:02:38 -08:00
2024-10-02 11:14:05 +01:00
2024-06-14 15:07:27 +01:00
2024-01-05 15:11:47 +00:00
2024-05-13 11:14:35 +01:00
2024-01-05 15:11:47 +00:00
2024-01-05 15:11:47 +00:00
2023-12-12 11:32:19 +00:00
2024-05-03 09:51:56 -07:00
2024-02-06 13:02:38 -08:00
2024-05-03 09:51:56 -07:00
2024-05-03 09:51:56 -07:00
2024-02-06 13:02:38 -08:00
2024-03-18 10:37:59 -04:00
2024-06-25 14:00:47 -07:00
2024-01-05 15:11:47 +00:00
2023-12-12 11:32:19 +00:00
2023-12-12 11:32:19 +00:00
2024-05-03 09:51:56 -07:00
2024-05-03 09:51:56 -07:00
2024-05-03 09:51:56 -07:00
2024-05-03 09:51:56 -07:00
2024-05-03 09:51:56 -07:00
2024-05-03 09:51:56 -07:00
2024-05-03 09:51:56 -07:00
2024-05-03 09:51:56 -07:00
2024-06-06 09:17:38 +01:00
2024-10-15 11:36:24 +02:00
2024-05-03 09:51:56 -07:00
2024-05-03 09:51:56 -07:00
2024-01-16 17:01:01 -08:00
2024-02-06 13:02:38 -08:00
2024-02-06 13:02:38 -08:00
2024-02-06 13:02:38 -08:00
2024-02-13 13:20:25 -08:00
2024-01-05 15:11:47 +00:00
2023-12-12 11:32:19 +00:00
2024-05-03 09:51:56 -07:00
2024-08-05 16:38:08 +02:00
2024-08-05 16:38:08 +02:00
2024-06-14 15:07:27 +01:00
2024-06-14 15:07:27 +01:00
2024-06-14 15:07:27 +01:00
2024-06-14 15:07:27 +01:00
2024-06-14 15:07:27 +01:00
2023-12-12 15:49:24 +00:00
2024-06-14 15:07:27 +01:00
2024-01-05 15:11:47 +00:00
2024-01-05 15:11:47 +00:00
2024-04-18 12:08:31 +01:00
2024-03-13 11:49:16 +01:00
2024-08-08 09:07:39 -04:00
2023-12-12 11:32:19 +00:00
2023-12-12 11:32:19 +00:00
2023-12-12 11:32:19 +00:00
2024-01-05 15:11:47 +00:00
2024-01-09 13:32:59 +07:00