Alok Kumar Sharma
2d10258a31
[DebugInfo] Support for DW_AT_associated and DW_AT_allocated.
...
Summary:
This support is needed for the Fortran array variables with pointer/allocatable
attribute. This support enables debugger to identify the status of variable
whether that is currently allocated/associated.
for pointer array (before allocation/association)
without DW_AT_associated
(gdb) pt ptr
type = integer (140737345375288:140737354129776)
(gdb) p ptr
value requires 35017956 bytes, which is more than max-value-size
with DW_AT_associated
(gdb) pt ptr
type = integer (:)
(gdb) p ptr
$1 = <not associated>
for allocatable array (before allocation)
without DW_AT_allocated
(gdb) pt arr
type = integer (140737345375288:140737354129776)
(gdb) p arr
value requires 35017956 bytes, which is more than max-value-size
with DW_AT_allocated
(gdb) pt arr
type = integer, allocatable (:)
(gdb) p arr
$1 = <not allocated>
Testing
- unit test cases added
- check-llvm
- check-debuginfo
Reviewed By: aprantl
Differential Revision: https://reviews.llvm.org/D83544
2020-07-20 19:54:35 +05:30
..
2019-07-14 14:06:25 +00:00
2020-01-14 13:41:32 +00:00
2020-01-14 13:41:32 +00:00
2020-07-20 19:54:35 +05:30
2020-07-20 19:54:35 +05:30
2019-08-03 14:28:34 +00:00
2020-07-20 10:23:09 -04:00
2019-08-03 14:28:34 +00:00
2019-05-30 18:48:23 +00:00
2019-02-08 20:48:56 +00:00
2019-02-08 20:48:56 +00:00
2019-10-28 15:19:39 +00:00
2019-10-28 15:19:39 +00:00
2019-07-28 06:09:56 +00:00
2019-07-28 06:09:56 +00:00
2019-07-28 06:09:56 +00:00
2019-07-28 06:09:56 +00:00
2019-07-28 06:09:56 +00:00
2020-06-15 10:05:35 -04:00
2020-06-15 10:05:35 -04:00
2019-11-12 10:49:00 +09:00
2020-05-15 11:33:17 +05:30
2020-04-18 12:49:31 -07:00
2020-04-18 12:49:31 -07:00
2019-01-15 16:18:52 +00:00
2019-12-24 15:57:33 -08:00
2020-05-13 12:52:30 +05:30
2020-05-13 12:52:30 +05:30
2020-05-13 12:52:30 +05:30
2020-05-13 12:52:30 +05:30
2018-11-28 21:14:32 +00:00
2018-11-28 21:14:32 +00:00
2018-11-28 21:14:32 +00:00
2019-03-19 13:49:03 +00:00
2019-03-19 13:49:03 +00:00
2020-03-02 16:45:48 +05:30
2020-03-02 16:45:48 +05:30
2019-12-24 15:57:33 -08:00
2020-05-28 13:46:41 +05:30
2020-05-28 13:46:41 +05:30
2020-05-28 13:46:41 +05:30
2020-02-13 10:16:06 -08:00
2018-11-13 18:15:47 +00:00
2019-05-30 18:48:23 +00:00
2020-02-13 10:16:06 -08:00
2019-08-07 17:20:55 +00:00
2019-08-21 18:20:11 +00:00
2019-08-21 18:20:11 +00:00
2019-07-11 01:14:30 +00:00
2019-07-11 01:14:30 +00:00
2020-02-13 10:16:06 -08:00
2020-05-15 12:26:58 -07:00
2019-05-15 02:35:32 +00:00
2019-04-17 17:38:09 +00:00
2019-11-14 10:40:41 -08:00
2019-03-12 21:02:54 +00:00
2019-02-12 21:55:38 +00:00
2020-06-03 15:00:24 -07:00
2019-07-14 12:35:50 +00:00
2019-07-31 00:13:51 +00:00
2019-07-31 00:13:51 +00:00
2020-07-14 12:16:57 -07:00
2020-05-28 10:33:05 -07:00
2019-07-24 22:23:05 +00:00
2020-05-28 10:33:05 -07:00
2019-11-07 15:13:35 +03:00
2020-05-28 10:33:05 -07:00
2020-05-28 10:33:05 -07:00
2020-05-28 10:33:05 -07:00
2020-05-28 10:33:05 -07:00
2020-05-28 10:33:05 -07:00
2020-05-28 10:33:05 -07:00
2020-05-28 10:33:05 -07:00
2020-06-10 02:43:28 -07:00
2020-01-15 19:29:01 +03:00
2020-05-28 10:33:05 -07:00
2019-07-03 17:31:43 +00:00
2019-11-07 15:13:35 +03:00
2019-05-10 20:08:24 +00:00
2019-05-10 20:08:24 +00:00
2019-10-24 13:08:50 -07:00
2019-10-24 13:08:50 -07:00
2019-08-13 17:52:21 +00:00
2019-08-13 01:23:06 +00:00
2019-08-13 17:52:21 +00:00
2019-08-08 16:59:31 +00:00
2019-03-08 05:27:53 +00:00
2019-09-18 22:15:58 +00:00
2019-09-18 22:15:58 +00:00
2019-09-18 22:15:58 +00:00
2019-12-30 09:46:19 -08:00
2020-03-11 13:26:06 -07:00
2020-03-11 13:26:06 -07:00
2019-05-15 02:35:32 +00:00
2019-05-15 02:35:32 +00:00
2019-05-15 02:35:32 +00:00
2019-08-14 08:33:07 +00:00
2019-08-13 01:23:06 +00:00
2019-04-10 06:20:20 +00:00
2019-07-03 17:31:43 +00:00
2019-12-24 16:27:51 -08:00
2019-06-11 08:22:10 +00:00
2019-06-11 08:22:10 +00:00
2020-01-22 12:29:25 -08:00
2020-06-30 13:23:07 -07:00