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
..
2023-10-10 17:32:10 +02:00
2015-11-26 10:05:24 +00:00
2015-11-26 10:05:24 +00:00
2015-11-17 05:36:42 +00:00
2015-11-17 05:36:42 +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
2015-11-17 05:36:42 +00:00
2016-04-27 02:58:27 +00:00
2016-12-08 12:58:55 +00:00
2021-05-22 17:48:45 -07:00
2015-11-17 05:36:42 +00:00
2018-01-08 10:17:03 +00:00
2018-03-22 17:14:41 +00:00
2017-10-05 23:28:29 +00: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
2016-02-26 14:27:47 +00:00
2015-11-17 05:36:42 +00:00
2017-09-28 17:15:02 +00:00
2016-06-28 21:48:33 +00:00
2022-11-27 20:06:48 -08:00
2018-02-16 20:23:54 +00:00
2017-11-28 20:17:58 +00:00
2017-11-23 23:40:33 +00:00
2016-04-15 15:26:52 +00:00
2019-09-09 03:35:14 +00:00
2018-09-28 14:09:16 +00:00
2018-01-16 19:02:46 +00:00
2018-01-16 18:53:09 +00:00
2016-02-25 18:43:51 +00:00
2018-07-31 13:55:25 +00:00
2017-01-20 04:58:12 +00:00
2018-03-14 21:18:18 +00:00
2017-12-06 08:36:21 +00:00
2016-03-31 12:09:36 +00:00
2016-05-24 02:37:40 +00:00
2017-09-12 13:08:24 +00:00
2016-05-26 20:46:01 +00:00
2018-03-23 00:35:27 +00:00
2016-03-08 19:51:58 +00:00
2018-10-16 17:13:01 +00:00
2018-01-10 01:37:36 +00:00
2016-04-30 01:15:17 +00:00
2016-02-25 08:23:37 +00:00
2017-06-06 06:38:32 +00:00
2016-03-11 14:34:44 +00:00
2017-02-23 06:22:28 +00:00
2016-02-25 08:23:37 +00:00
2016-04-04 22:29:24 +00:00
2019-09-10 12:28:07 +00:00
2015-12-10 22:53:24 +00:00
2015-12-03 08:05:35 +00:00
2015-12-11 08:59:37 +00:00
2017-01-19 19:51:02 +00:00
2016-01-18 23:54:05 +00:00
2022-02-24 12:54:16 -08:00
2017-05-26 19:12:38 +00:00
2017-11-24 06:42:32 +00:00
2018-05-04 15:09:49 +00:00
2019-10-01 16:10:13 +00:00
2017-12-30 08:00:44 +00:00
2016-04-08 20:49:31 +00:00
2016-04-08 20:49:31 +00:00
2016-06-14 21:56:36 +00:00
2024-02-13 11:29:21 +01:00
2016-04-13 18:07:57 +00: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
2018-01-16 18:21:23 +00:00
2016-05-09 21:40:06 +00:00
2017-10-11 18:37:24 +00:00
2017-01-11 08:29:52 +00:00
2017-10-04 09:46:53 +00:00
2016-06-20 14:02:22 +00:00
2017-07-12 17:49:17 +00:00
2017-07-12 11:09:46 +00:00
2016-06-06 22:42:57 +00:00
2016-06-06 22:42:57 +00:00
2018-05-14 10:13:56 +00:00
2016-04-30 00:49:10 +00:00
2016-03-14 09:19:30 +00:00
2016-03-14 09:19:30 +00:00
2017-11-28 23:06:09 +00:00
2018-08-02 18:13:40 +00:00
2022-01-19 12:25:01 -08:00