Felipe de Azevedo Piovezan
a195d1fc6c
[DebugInfo] Implement TAG_label entries for debug_names ( #71724 )
...
The DWARF 5 specification says that:
> The name index must contain an entry for each debugging information
entry that
> defines a named [...] label [...].
The verifier currently verifies this, but the AsmPrinter does not add
entries for TAG_labels in debug_names. This patch addresses the issue by
ensuring we add labels in the accelerator tables once we have a fully
completed DIE for the TAG_label entry.
We also respect the spec as follows:
> DW_TAG_label debugging information entries without an address
attribute
> (DW_AT_low_pc, DW_AT_high_pc, DW_AT_ranges, or DW_AT_entry_pc) are
excluded.
The effect of this on the size of accelerator tables is minimal, as
TAG_labels are usually created by C/C++ labels (see example in test),
which are typically paired with "goto" statements.
2023-11-13 11:02:58 -08:00
..
2023-09-29 10:13:06 -07:00
2023-05-17 17:03:15 +02:00
2023-10-11 14:57:15 -07:00
2023-09-15 09:10:53 +01:00
2023-06-14 14:46:50 +02:00
2023-10-02 07:10:11 -07:00
2023-07-12 12:03:44 +02:00
2023-11-13 12:38:13 +01:00
2023-06-14 15:28:33 -07:00
2023-05-17 17:03:15 +02:00
2023-10-15 16:13:05 -07:00
2023-08-16 23:11:59 -07:00
2023-11-09 09:51:49 +00:00
2023-05-17 17:03:15 +02:00
2023-06-14 14:46:50 +02:00
2022-11-19 15:17:42 -05:00
2023-05-17 17:03:15 +02:00
2023-07-21 08:37:58 -07:00
2023-10-25 17:01:19 +02:00
2023-10-12 11:16:01 +08:00
2023-05-17 17:03:15 +02:00
2023-06-08 16:56:25 -07:00
2023-11-13 11:02:58 -08:00
2023-11-09 16:03:45 -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
2022-07-20 13:57:11 -04:00
2023-06-26 13:30:48 -07: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
2023-06-16 00:49:59 +02: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-05-23 15:31:31 -07: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
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
2022-12-09 01:04:45 +03:00