cmtice
16711b431b
[lld][ELF] Add --debug-names to create merged .debug_names. ( #86508 )
...
`clang -g -gpubnames` (with optional -gsplit-dwarf) creates the
`.debug_names` section ("per-CU" index). By default lld concatenates
input `.debug_names` sections into an output `.debug_names` section.
LLDB can consume the concatenated section but the lookup performance is
not good.
This patch adds --debug-names to create a per-module index by combining
the per-CU indexes into a single index that covers the entire load
module. The produced `.debug_names` is a replacement for `.gdb_index`.
Type units (-fdebug-types-section) are not handled yet.
Co-authored-by: Fangrui Song <i@maskray.me>
---------
Co-authored-by: Fangrui Song <i@maskray.me>
2024-04-18 14:41:14 -07:00
..
2021-09-22 11:51:09 -07:00
2019-06-07 13:00:17 +00:00
2019-06-07 13:00:17 +00:00
2019-06-07 13:00:17 +00:00
2019-06-07 13:00:17 +00:00
2019-06-07 13:00:17 +00:00
2019-06-07 13:00:17 +00:00
2019-06-07 13:00:17 +00:00
2023-10-10 17:32:10 +02:00
2019-06-07 13:00:17 +00:00
2019-06-07 13:00:17 +00:00
2019-06-07 13:00:17 +00:00
2023-11-03 10:56:29 -07:00
2023-09-21 12:00:45 +02:00
2023-09-21 12:00:45 +02:00
2023-07-06 11:34:07 +01:00
2021-11-11 09:06:52 -08:00
2021-11-11 09:06:52 -08:00
2020-02-28 22:23:14 -08:00
2021-05-22 17:48:45 -07:00
2021-05-22 17:48:45 -07:00
2019-09-10 12:28:07 +00:00
2019-09-16 07:05:34 +00:00
2019-09-16 07:05:34 +00:00
2021-08-05 10:32:14 -07:00
2024-04-18 14:41:14 -07:00
2024-04-18 14:41:14 -07:00
2019-03-18 15:32:57 +00:00
2020-02-19 22:01:42 -08:00
2022-11-27 20:06:48 -08:00
2021-06-17 17:08:13 +07:00
2021-06-17 17:08:13 +07:00
2019-07-16 05:50:45 +00:00
2020-07-09 19:15:31 +07:00
2019-02-13 21:49:55 +00:00
2019-02-13 21:49:55 +00:00
2019-02-13 21:49:55 +00:00
2019-09-09 03:35:14 +00:00
2019-06-05 03:04:46 +00:00
2019-06-05 03:04:46 +00:00
2019-06-05 03:04:46 +00:00
2019-06-05 03:04:46 +00:00
2019-02-06 14:43:30 +00:00
2019-02-06 14:43:30 +00:00
2019-02-06 14:43:30 +00:00
2020-07-10 07:23:32 -05:00
2020-08-17 09:36:09 -05:00
2019-01-24 18:17:40 +00:00
2019-01-24 18:17:40 +00:00
2020-02-19 22:01:42 -08:00
2019-05-07 04:26:05 +00:00
2019-05-07 04:26:05 +00:00
2019-02-11 21:38:20 +00:00
2019-09-10 12:28:07 +00:00
2022-02-24 12:54:16 -08:00
2020-08-11 15:14:33 +03:00
2019-10-01 16:10:13 +00:00
2020-03-06 13:59:58 +03:00
2024-02-13 11:29:21 +01:00
2020-04-02 01:21:36 +09:00
2023-11-03 13:53:36 -07:00
2023-11-03 13:53:36 -07:00
2019-07-17 14:54:02 +00:00
2019-08-09 08:29:03 +00:00
2019-06-05 03:04:46 +00:00
2019-06-05 03:04:46 +00:00
2019-06-05 03:04:46 +00:00
2019-06-05 03:04:46 +00:00
2019-02-07 18:12:57 +00:00
2022-01-19 12:25:01 -08:00