Kristina Bessonova
4e958b4d7c
[llvm-objdump] Avoid using mapping symbols as branch target labels
...
The main motivation for this change is to avoid ambiguity because
mapping symbol names may not be unique across a binary and do not allow uniquely
identifying target address. So that mapping symbols used as branch target
labels make llvm-objdump output less readable.
Another point is that mapping symbols sometimes appear in
non-allocatable sections, like debug info sections which make objdump
output even more confusing.
For example, a small AArch64 executable may contain plenty of `$d[.*]`
symbols and none of them would be useful as a label for resolving
a branch or a memory operand target address:
```
0000000000000254 l .note.ABI-tag 0000000000000000 $d
00000000000008d4 l .eh_frame 0000000000000000 $d
0000000000000868 l .rodata 0000000000000000 $d
0000000000011028 l .data 0000000000000000 $d
0000000000010db8 l .fini_array 0000000000000000 $d
0000000000010db0 l .init_array 0000000000000000 $d
00000000000008e8 l .eh_frame 0000000000000000 $d
0000000000011034 l .bss 0000000000000000 $d
```
Note that GNU objdump doesn't use mapping symbols as branch target
labels for all targets that support such symbols (ARM, AArch64, CSKY).
Differential Revision: https://reviews.llvm.org/D139131
2022-12-06 12:19:12 +02:00
..
2022-11-27 20:06:48 -08:00
2022-09-04 17:43:39 -07:00
2022-11-19 18:51:35 +00:00
2022-11-29 15:21:09 -06:00
2022-02-02 06:09:55 +00:00
2022-06-24 08:47:23 -07:00
2022-02-02 06:09:55 +00:00
2022-01-24 10:04:28 +00:00
2022-01-24 10:04:28 +00:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-07-26 09:35:30 +01:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-04-04 11:17:36 -07:00
2021-12-25 23:46:47 -08:00
2022-10-29 15:40:26 -07:00
2022-12-06 12:19:12 +02:00
2022-10-29 15:40:26 -07:00
2022-05-12 20:41:22 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2021-12-25 22:05:20 -08:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-04-14 11:32:30 -07:00
2022-12-04 11:52:11 -08:00
2022-10-29 15:40:26 -07:00
2022-07-15 01:29:58 -07:00
2022-03-23 01:22:37 -07:00
2022-02-23 20:48:49 -08:00
2022-04-08 14:18:52 -04:00
2022-02-16 10:27:43 -08:00
2022-02-15 09:38:00 -08:00
2022-02-15 09:38:00 -08:00
2021-12-25 23:46:47 -08:00
2022-10-29 15:40:26 -07:00
2022-07-26 09:35:30 +01:00
2022-10-29 15:40:26 -07:00
2022-07-26 09:35:30 +01:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-07-26 09:35:30 +01:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-11-08 17:28:04 -08:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-07-26 09:35:30 +01:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-07-26 09:35:30 +01:00
2022-07-26 09:35:30 +01:00
2022-07-12 11:34:17 -07:00
2022-10-29 15:40:26 -07:00
2022-07-26 09:35:30 +01:00
2022-07-26 09:35:30 +01:00
2022-10-29 15:40:26 -07:00
2022-08-24 09:40:03 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-07-26 09:35:30 +01:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-07-26 09:35:30 +01:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-07-26 09:35:30 +01:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-07-26 09:35:30 +01:00
2022-10-16 12:08:08 -07:00
2022-07-26 09:35:30 +01:00
2022-07-26 09:35:30 +01:00
2022-10-29 15:40:26 -07:00
2022-05-12 20:41:22 -07:00
2022-11-07 18:28:33 +01:00
2022-03-24 11:31:39 -07:00
2022-01-06 01:02:14 -08:00
2022-09-12 12:56:35 -07:00
2022-10-21 09:43:25 -07:00
2022-03-15 19:24:41 -07:00
2022-09-12 12:56:35 -07:00
2022-02-22 21:42:15 -08:00
2022-03-15 19:24:41 -07:00
2022-05-27 10:48:53 +01:00
2022-11-27 20:06:48 -08:00
2022-09-09 10:30:18 -07:00
2022-05-27 12:08:24 +01:00
2022-06-02 13:37:19 -07:00
2022-07-27 11:18:20 -07:00
2022-07-08 14:04:19 -07:00
2022-09-09 10:25:37 -07:00
2022-09-09 10:18:46 -07:00
2022-07-05 09:43:09 +01:00
2022-01-30 01:08:10 -08:00
2022-01-13 11:38:26 +07:00
2022-01-28 20:46:01 -08:00
2022-04-07 14:34:32 -07:00
2022-09-20 17:05:36 -07:00
2022-03-15 19:24:41 -07:00
2022-08-15 18:49:02 -04:00
2022-03-28 15:55:46 -07:00
2022-07-31 23:35:44 -07:00
2022-07-31 23:35:44 -07:00
2022-08-01 01:10:51 -07:00
2022-07-31 23:35:44 -07:00
2022-07-31 23:35:44 -07:00
2022-07-31 23:35:44 -07:00
2022-07-31 23:35:44 -07:00
2022-07-31 23:35:44 -07:00
2022-07-31 23:35:44 -07:00
2022-07-31 23:35:44 -07:00
2022-03-29 09:51:41 -07:00
2022-10-29 15:40:26 -07:00
2021-12-26 17:25:54 -08:00
2022-11-29 15:21:09 -06:00
2022-02-27 20:47:37 +00:00
2022-02-27 20:47:37 +00:00
2022-03-15 19:24:41 -07:00
2022-01-06 00:43:46 -08:00
2022-02-26 03:55:40 +00:00
2022-10-29 15:40:26 -07:00
2022-09-05 00:03:40 -07:00
2022-07-31 23:35:44 -07:00
2022-02-22 21:42:15 -08:00
2022-02-22 21:42:15 -08:00
2022-09-09 10:25:37 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-08-24 09:40:03 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-03-15 19:24:41 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-02-15 09:38:00 -08:00
2022-02-15 09:38:00 -08:00
2022-08-02 09:52:31 -04:00
2022-09-04 17:43:39 -07:00
2021-12-22 17:41:50 -08:00
2022-09-14 14:57:47 -04:00
2022-11-16 09:58:50 -08:00
2022-07-31 23:35:44 -07:00
2022-05-27 10:48:53 +01:00
2022-10-29 15:40:26 -07:00
2022-03-29 09:51:41 -07:00
2022-01-15 22:33:51 -08:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-01-15 22:33:51 -08:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-02-23 20:48:49 -08:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-04-15 23:48:38 +02:00
2022-04-15 23:48:38 +02:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-24 10:54:09 -07:00
2022-02-15 09:38:00 -08:00
2022-11-19 18:51:35 +00:00
2022-03-10 19:54:21 -08:00
2022-01-29 14:45:58 -08:00
2022-08-08 21:31:58 +00:00
2022-03-24 11:31:39 -07:00
2022-07-31 23:35:44 -07:00
2021-12-23 11:32:44 -08:00
2022-10-16 12:08:08 -07:00
2022-07-12 21:07:45 -07:00
2022-07-12 21:07:45 -07:00
2022-07-12 21:07:45 -07:00
2022-07-12 21:07:45 -07:00
2022-07-12 21:07:45 -07:00
2022-07-12 21:07:45 -07:00
2022-07-12 21:07:45 -07:00
2022-07-12 21:07:45 -07:00
2022-07-12 21:08:52 -07:00
2022-07-12 21:08:52 -07:00
2022-10-16 12:08:08 -07:00
2022-07-12 21:07:45 -07:00
2022-02-07 10:26:16 -08:00
2022-07-12 21:07:45 -07:00
2022-07-12 21:07:45 -07:00
2022-07-12 21:07:45 -07:00
2022-07-12 21:07:45 -07:00
2022-07-13 19:34:33 -05:00
2022-07-12 21:08:52 -07:00
2022-02-15 12:57:27 -08:00
2022-02-15 12:57:27 -08:00
2022-10-29 15:40:26 -07:00
2022-07-26 14:52:07 -07:00
2022-02-09 10:35:53 -08:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-02-04 15:13:37 -08:00
2022-02-25 19:25:18 +00:00
2022-10-29 15:40:26 -07:00
2022-08-01 22:06:46 -07:00
2022-02-24 12:54:16 -08:00
2022-07-13 00:28:29 -07:00
2022-09-13 18:47:55 -07:00
2022-09-20 11:14:04 -07:00
2022-11-22 12:37:51 -08:00
2022-07-13 00:28:29 -07:00
2022-09-26 14:20:27 -07:00
2022-07-07 10:16:09 -07:00
2022-07-07 10:18:45 -07:00
2022-07-13 00:17:17 -07:00
2022-07-07 10:18:45 -07:00
2021-12-24 22:36:49 -08:00
2022-07-15 10:08:08 -07:00
2022-09-13 18:47:55 -07:00
2022-12-04 21:08:37 -08:00
2022-11-21 18:57:29 +00:00
2022-06-08 14:28:58 -07:00
2022-06-02 13:37:19 -07:00
2022-02-18 14:54:10 -08:00
2022-01-05 02:04:36 -08:00
2022-06-23 15:46:22 -04:00
2022-02-23 20:34:48 -08:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-02-15 09:38:00 -08:00
2022-09-12 12:56:35 -07:00
2022-10-14 09:07:10 -04:00
2022-09-12 12:56:35 -07:00
2022-07-15 01:29:58 -07:00
2022-11-09 16:17:33 +00:00
2022-11-09 16:17:33 +00:00
2022-11-09 16:17:33 +00:00
2022-11-09 16:17:33 +00:00
2022-11-09 16:17:33 +00:00
2022-11-09 16:17:33 +00:00
2022-11-09 16:17:33 +00:00
2022-09-20 17:12:44 -07:00
2022-02-22 10:07:58 -08:00
2022-03-30 09:12:09 -07:00
2022-10-24 10:54:09 -07:00
2022-02-27 20:23:09 +00:00
2022-04-22 16:47:15 -07:00
2022-10-18 12:53:06 +01:00
2022-10-18 12:53:06 +01:00
2022-03-04 18:56:37 -08:00
2022-04-22 16:47:15 -07:00
2022-02-05 09:56:29 -08:00
2022-07-15 01:29:58 -07:00
2022-09-04 17:27:35 -07:00
2022-02-26 03:55:40 +00:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-01-15 10:46:25 -08:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-10-29 15:40:26 -07:00
2022-01-10 10:03:21 -08:00
2022-10-29 15:40:26 -07:00
2022-11-22 12:59:45 -08:00
2022-10-29 15:40:26 -07:00