OCHyams
086635d6b9
[Assignment Tracking][SROA] Fix fragment when slice size equals variable size
...
Correctly handle the case of splitting an alloca which backs contiguous
distinct variables, where a slice's size equals the size of a backed variable.
We need to ensure that we don't generate fragments expressions with fragments
of the same size as the variable as this is a verifier error.
Prior to this patch a fragment expression would be created in this
situation. e.g. splitting an alloca i64 with two adjacent 32-bit variables into
two 32-bit allocas, the new dbg.assign expressions would contain
(DW_OP_LLVM_fragment, 0, 32) and (DW_OP_LLVM_fragment, 32, 32) even though
those fragments cover each variable entirely.
Reviewed By: jmorse
Differential Revision: https://reviews.llvm.org/D147696
2023-04-06 15:29:18 +01:00
..
2023-02-09 18:45:20 +03:00
2022-11-28 09:31:21 -05:00
2023-02-19 19:13:41 +00:00
2023-04-05 09:31:23 +01:00
2022-12-13 16:08:09 +01:00
2023-03-17 17:09:31 +01:00
2022-12-12 11:30:52 +08:00
2023-04-06 15:29:18 +01:00
2023-04-04 12:48:00 -07:00
2022-12-01 21:25:59 +01:00
2023-03-06 14:23:29 +01:00
2023-04-05 15:53:01 -07:00
2023-02-09 18:45:20 +03:00
2022-11-19 15:17:42 -05:00
2022-10-12 12:49:17 +02:00
2022-12-09 20:17:37 +00:00
2022-10-12 12:49:17 +02:00
2022-09-13 22:30:51 +00:00
2022-10-12 12:49:17 +02:00
2023-03-29 12:50:39 -07:00
2023-03-29 21:01:38 +00:00
2023-03-16 15:26:12 -04:00
2022-10-12 12:49:17 +02:00
2023-02-10 01:33:51 +00:00
2022-10-12 12:49:17 +02:00
2022-10-12 12:49:17 +02:00
2022-12-09 01:04:45 +03:00
2022-07-20 13:57:11 -04:00
2022-12-09 01:04:45 +03:00
2022-12-01 21:17:18 +03:00
2022-12-09 01:04:45 +03:00
2022-12-09 01:04:45 +03:00
2022-12-09 01:04:45 +03:00
2022-12-09 01:04:45 +03:00
2022-12-09 01:04:45 +03:00
2022-12-15 07:01:14 -08:00
2023-04-04 12:48:00 -07:00
2022-12-09 01:04:45 +03:00
2022-10-12 12:49:17 +02:00
2022-10-12 12:49:17 +02:00
2023-03-27 15:34:00 -07:00
2023-01-11 15:07:11 -08:00
2022-10-12 12:49:17 +02:00
2022-07-14 16:28:57 -07:00
2022-09-19 11:41:16 -07:00
2022-10-12 12:49:17 +02:00
2022-10-12 12:49:17 +02:00
2022-10-12 12:49:17 +02:00
2022-10-12 12:49:17 +02:00
2023-01-06 10:51:02 +00:00
2023-03-27 10:20:08 +01:00
2022-12-09 01:04:45 +03:00
2022-10-12 12:49:17 +02:00
2022-12-09 01:04:45 +03:00
2022-11-08 12:15:42 +01:00
2022-12-09 01:04:45 +03:00
2022-12-09 01:04:45 +03:00
2023-01-06 10:51:02 +00:00
2022-12-09 01:04:45 +03:00
2022-12-01 21:17:18 +03:00
2022-12-09 01:04:45 +03:00
2023-02-15 19:07:05 +08:00
2022-08-31 09:49:32 -07:00
2022-06-27 11:18:41 -07:00
2022-08-04 10:20:29 -07:00
2022-08-08 11:08:48 -07:00
2022-08-04 10:20:29 -07:00
2022-08-04 10:20:29 -07:00
2022-08-04 10:20:29 -07:00
2023-04-05 11:25:26 -07:00
2022-08-08 11:40:12 -07:00
2022-08-04 10:20:29 -07:00
2022-06-27 10:44:15 -07:00
2022-06-27 10:44:15 -07:00
2022-07-14 16:28:57 -07:00
2022-09-19 11:41:16 -07:00
2022-12-09 01:04:45 +03:00
2022-12-09 01:04:45 +03:00