diff options
author | Georgii Rymar <grimar@accesssoftek.com> | 2020-08-12 14:47:15 +0300 |
---|---|---|
committer | Georgii Rymar <grimar@accesssoftek.com> | 2020-08-13 14:07:29 +0300 |
commit | 02e2bd8c4b933f0f756ca4de406e93f4272c3d7a (patch) | |
tree | 148ccba0182384f3db97b1e997e263372879370d /llvm/lib/Object | |
parent | 130098228d5d0709d64efb33b55e32a7dc2964d6 (diff) | |
download | llvm-02e2bd8c4b933f0f756ca4de406e93f4272c3d7a.zip llvm-02e2bd8c4b933f0f756ca4de406e93f4272c3d7a.tar.gz llvm-02e2bd8c4b933f0f756ca4de406e93f4272c3d7a.tar.bz2 |
[llvm-readobj/elf] - Cleanup helpers that are used to print segment types. NFCI.
`getElfSegmentType` and `getElfPtType` are methods that are used for printing
segment types for LLVM and GNU styles accordingly.
This patch does a cleanup and simplification that allows to avoid
the code duplication and to get rid of one macro.
Differential revision: https://reviews.llvm.org/D85830
Diffstat (limited to 'llvm/lib/Object')
0 files changed, 0 insertions, 0 deletions