David Blaikie
bd5c6367bd
DWARF: debug_names: Don't emit entries for skeleton type units
...
When a type unit is emitted, the CU referencing the type unit ends up
with a little DW_TAG_*_type with the DW_AT_signature and
DW_AT_declaration sometimes referred to (by me? maybe other people?) as
a skeleton type.
We shouldn't produce .debug_names reference to these - only to the
actual type definition in the type unit. So this patch does that.
But, inversely, the .debug_gnu_pubtypes /does/ need to reference the
skeleton type (& gcc does this too, when it produces a skeleton type
(gcc doesn't always produce these - if the type is only referenced once
via DW_AT_type, gcc uses a direct DW_FORM_ref_sig8 on the DW_AT_type
without the intermediate skeleton type)) - so there's a little special
case added in to preserve that behavior which is covered by existing
tests.
2024-05-22 22:34:36 +00:00
..
2024-05-15 18:15:40 -07:00
2024-02-09 09:20:25 +01:00
2024-05-13 11:14:35 +01:00
2024-05-13 12:49:42 +01:00
2023-06-14 14:46:50 +02:00
2024-05-03 09:51:56 -07:00
2023-07-12 12:03:44 +02:00
2024-05-03 09:51:56 -07:00
2023-12-05 01:57:14 -05:00
2023-05-17 17:03:15 +02:00
2024-04-26 08:30:27 -07:00
2023-10-15 16:13:05 -07:00
2024-05-08 17:30:14 +08:00
2024-05-03 09:51:56 -07:00
2024-02-06 13:02:38 -08:00
2024-05-13 11:14:35 +01:00
2024-05-15 13:10:16 +01:00
2023-05-17 17:03:15 +02:00
2024-04-26 08:30:27 -07:00
2023-10-25 17:01:19 +02:00
2024-04-26 08:30:27 -07:00
2024-01-09 10:48:23 -08:00
2024-01-13 14:55:54 -08:00
2024-05-22 22:34:36 +00:00
2023-12-04 17:35:47 -06:00
2023-05-17 17:03:15 +02:00
2023-02-10 01:33:51 +00:00
2023-06-20 14:29:12 -04: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
2023-12-14 19:47:15 -08:00
2022-07-20 13:57:11 -04:00
2023-06-26 13:30:48 -07:00
2024-04-16 17:07:46 +01:00
2024-04-16 17:07:46 +01:00
2024-04-16 17:07:46 +01:00
2024-04-16 17:07:46 +01:00
2024-04-16 17:07:46 +01:00
2024-04-16 17:07:46 +01:00
2024-04-16 17:07:46 +01:00
2022-12-15 07:01:14 -08:00
2023-04-04 12:48:00 -07:00
2024-03-19 20:07:07 +00:00
2023-12-12 14:28:05 +00:00
2024-02-01 08:47:11 -08:00
2022-10-12 12:49:17 +02:00
2022-10-12 12:49:17 +02:00
2024-03-08 07:34:36 +07:00
2023-03-27 15:34:00 -07:00
2023-01-11 15:07:11 -08:00
2022-03-22 16:46:48 +04: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-03-22 16:46:48 +04:00
2024-02-20 12:09:00 -08: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
2024-01-25 23:28:56 +00:00
2023-01-06 10:51:02 +00:00
2023-03-27 10:20:08 +01:00
2023-06-16 00:49:59 +02:00
2022-12-09 01:04:45 +03:00
2024-04-16 17:07:46 +01:00
2024-05-03 09:51:56 -07:00
2024-03-18 14:41:32 +00:00
2022-12-09 01:04:45 +03:00
2024-04-05 14:18:59 +01:00
2024-04-16 17:07:46 +01:00
2022-12-09 01:04:45 +03:00
2023-11-20 16:56:31 +00:00
2023-05-23 15:31:31 -07:00
2024-01-23 22:52:47 +00:00
2024-05-03 09:51:56 -07:00
2023-12-12 15:49:24 +00:00
2022-12-09 01:04:45 +03:00
2022-03-22 16:46:48 +04:00
2023-02-15 19:07:05 +08:00
2023-06-28 10:39:28 -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
2023-06-28 10:39:28 -07:00
2023-06-28 10:39:28 -07:00
2022-06-27 10:44:15 -07:00
2022-06-27 10:44:15 -07:00
2023-06-28 17:51:39 +07:00
2022-07-14 16:28:57 -07:00
2022-09-19 11:41:16 -07:00
2023-07-05 09:54:28 +02:00
2024-04-16 17:07:46 +01:00