diff options
author | Matt Davis <Matthew.Davis@sony.com> | 2019-02-01 18:51:10 +0000 |
---|---|---|
committer | Matt Davis <Matthew.Davis@sony.com> | 2019-02-01 18:51:10 +0000 |
commit | 50ca8edb1a0d94e057a28ae792e3b756bd08d809 (patch) | |
tree | 999b6b97b1b82efc130184b881f94f2b4689eb8b /llvm/lib/Transforms/Utils/DemoteRegToStack.cpp | |
parent | 25b4c4ceb6861c4564bcb5280fa81805cb9cca80 (diff) | |
download | llvm-50ca8edb1a0d94e057a28ae792e3b756bd08d809.zip llvm-50ca8edb1a0d94e057a28ae792e3b756bd08d809.tar.gz llvm-50ca8edb1a0d94e057a28ae792e3b756bd08d809.tar.bz2 |
[llvm-readobj] Add a flag to dump just the section-to-segment mapping.
Summary:
The following patch introduces a new function `printSectionMapping` which is responsible for dumping just the section-to-segment mapping.
This patch also introduces a n option `-section-mapping` that outputs that mapping without the program headers.
Previously, this functionality was controlled by `printProgramHeaders`, and the output from `-program-headers` has not been changed. I am happy to change the option name, I copied the name that was displayed when outputting the mapping table.
Reviewers: khemant, jhenderson, grimar, rupprecht
Reviewed By: jhenderson, grimar, rupprecht
Subscribers: rupprecht, jhenderson, llvm-commits
Differential Revision: https://reviews.llvm.org/D57365
llvm-svn: 352896
Diffstat (limited to 'llvm/lib/Transforms/Utils/DemoteRegToStack.cpp')
0 files changed, 0 insertions, 0 deletions