Fangrui Song
dbbc693bbe
[llvm-readobj] Allow --hex-dump/--string-dump to dump multiple sections
...
1) `-x foo` currently dumps one `foo`. This change makes it dump all `foo`.
2) `-x foo -x foo` currently dumps `foo` twice. This change makes it dump `foo` once.
In addition, if foo has section index 9, `-x foo -x 9` dumps `foo` once.
3) Give a warning instead of an error if `foo` does not exist.
The new behaviors match GNU readelf.
Also, print a new line as a separator between two section dumps.
GNU readelf uses two lines, but one seems good enough.
Reviewed By: grimar, jhenderson
Differential Revision: https://reviews.llvm.org/D63475
llvm-svn: 363683
2019-06-18 14:01:03 +00:00
..
2019-05-31 21:36:21 +00:00
2019-01-19 08:50:56 +00:00
2019-06-10 23:30:20 +00:00
2019-06-17 16:06:00 +00:00
2019-06-17 16:06:00 +00:00
2019-05-21 22:07:53 +00:00
2019-06-06 13:19:50 +00:00
2019-05-27 08:24:06 +00:00
2019-02-21 07:42:31 +00:00
2019-04-22 15:53:43 +00:00
2019-05-24 02:15:27 +00:00
2019-05-13 11:29:25 +00:00
2019-05-16 13:24:04 +00:00
2019-04-02 15:58:03 +00:00
2019-05-16 13:24:04 +00:00
2019-06-12 11:32:43 +00:00
2019-05-23 23:02:56 +00:00
2019-05-09 15:58:16 +00:00
2019-01-19 08:50:56 +00:00
2019-02-21 07:42:31 +00:00
2019-01-19 08:50:56 +00:00
2019-06-14 13:00:09 +00:00
2019-05-24 02:15:27 +00:00
2019-02-21 07:42:31 +00:00
2019-06-08 15:07:55 +00:00
2019-06-12 21:08:19 +00:00
2019-05-16 13:32:55 +00:00
2019-06-10 23:52:38 +00:00
2019-02-21 07:57:14 +00:00
2019-06-10 23:52:38 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-06-07 20:52:17 +00:00
2019-06-12 11:07:56 +00:00
2019-06-17 16:06:00 +00:00
2019-03-01 20:58:04 +00:00
2019-02-21 07:42:31 +00:00
2019-02-21 07:57:14 +00:00
2019-06-18 12:59:46 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-06-12 10:44:41 +00:00
2019-06-18 00:39:10 +00:00
2019-06-18 06:35:18 +00:00
2019-06-10 23:52:38 +00:00
2019-04-15 17:18:10 +00:00
2019-06-03 18:15:38 +00:00
2019-04-30 21:19:12 +00:00
2019-04-26 05:56:23 +00:00
2019-06-18 14:01:03 +00:00
2019-05-23 23:02:56 +00:00
2019-04-02 15:58:05 +00:00
2019-06-05 10:32:28 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-05-03 13:50:38 +00:00
2019-01-19 08:50:56 +00:00
2019-06-11 02:32:27 +00:00
2019-04-16 12:51:40 +00:00
2019-06-11 02:31:54 +00:00
2019-02-21 07:57:14 +00:00
2019-06-12 12:17:49 +00:00
2019-04-30 12:41:33 +00:00
2019-06-14 11:01:14 +00:00
2019-06-17 16:06:00 +00:00
2019-03-27 18:35:04 +00:00
2019-03-19 21:11:07 +00:00
2019-05-16 13:24:04 +00:00
2019-02-27 13:17:36 +00:00
2019-01-19 08:50:56 +00:00
2018-10-15 21:20:02 +00:00
2019-06-17 02:07:20 +00:00
2019-01-16 20:44:36 +00:00
2019-04-20 17:58:29 +00:00