summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-readobj/hexdump.test
Commit message (Collapse)AuthorAgeFilesLines
* [llvm-readobj] Allow --hex-dump/--string-dump to dump multiple sectionsFangrui Song2019-06-181-32/+0
| | | | | | | | | | | | | | | | | | 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
* [llvm-readelf] Allow prefix flags for -p and -xJordan Rupprecht2019-03-291-0/+27
| | | | | | | | | | | | | | | | Summary: This allows syntax like `llvm-readelf -p.data1 -x.data2`. Reviewers: jhenderson Reviewed By: jhenderson Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D59965 llvm-svn: 357270
* [llvm-readobj] Set correct offset when dumping hex section output.Sid Manning2019-01-161-0/+5
Differential Revision: https://reviews.llvm.org/D56369 llvm-svn: 351356
OpenPOWER on IntegriCloud