summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-06-18 14:01:03 +0000
committerFangrui Song <maskray@google.com>2019-06-18 14:01:03 +0000
commit677423997d6a31e9037e41dca990508d561ad42d (patch)
tree937142b384747082e475d4785998f0da7affb497 /lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp
parentd204987ada42108e1d86c0418c2993998377f623 (diff)
downloadbcm5719-llvm-677423997d6a31e9037e41dca990508d561ad42d.tar.gz
bcm5719-llvm-677423997d6a31e9037e41dca990508d561ad42d.zip
[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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud