llvm-project/llvm/test/tools/llvm-objcopy
Fangrui Song 677423997d [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
..
COFF [llvm-objcopy] Tidy up error messages 2019-05-22 13:23:26 +00:00
ELF [llvm-readobj] Allow --hex-dump/--string-dump to dump multiple sections 2019-06-18 14:01:03 +00:00
Inputs [llvm-objcopy] [COFF] Fix handling of aux symbols for big objects 2019-01-23 11:54:51 +00:00
MachO [llvm-objcopy][MachO] Recompute and update offset/size fields in the writer 2019-06-08 01:22:54 +00:00