[NFC] move GNUELFDumper::printEnum() into a common header for reuse.
authorEsme-Yi <esme.yi@ibm.com>
Fri, 3 Dec 2021 06:33:56 +0000 (06:33 +0000)
committerEsme-Yi <esme.yi@ibm.com>
Fri, 3 Dec 2021 06:33:56 +0000 (06:33 +0000)
commit62c74d496bb40a1845329cece0a38d9267db43c6
tree7f7790aaa79fdf838fe5a322312eb2597708f8bb
parent84980761a777619291e4877014c5f00ca512e4b8
[NFC] move GNUELFDumper::printEnum() into a common header for reuse.

Summary:
This is a NFC patch moving the GNUELFDumper<ELFT>::printEnum()
 function from ELFDumper into ScopedPrinter.h for reuse.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D114840
llvm/include/llvm/Support/ScopedPrinter.h
llvm/tools/llvm-readobj/ELFDumper.cpp