[all-commits] [llvm/llvm-project] 02e2bd: [llvm-readobj/elf] - Cleanup helpers that are used...
Georgii Rymar via All-commits
all-commits at lists.llvm.org
Thu Aug 13 04:07:57 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 02e2bd8c4b933f0f756ca4de406e93f4272c3d7a
https://github.com/llvm/llvm-project/commit/02e2bd8c4b933f0f756ca4de406e93f4272c3d7a
Author: Georgii Rymar <grimar at accesssoftek.com>
Date: 2020-08-13 (Thu, 13 Aug 2020)
Changed paths:
M llvm/tools/llvm-readobj/ELFDumper.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list