[PATCH] D111658: Add JSON output skeleton to llvm-readelf

Jayson Yan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 2 14:55:07 PDT 2021


Jaysonyan updated this revision to Diff 384231.
Jaysonyan edited the summary of this revision.
Jaysonyan added a comment.
Herald added subscribers: dexonsmith, aheejin, sbc100.

Add a base class `ScopedPrinterBase` and concrete class `JSONScopedPrinter`.
Update llvm-readobj to utilize the base class and concrete classes `JSONScopedPrinter`
and `ScopedPrinter`.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111658/new/

https://reviews.llvm.org/D111658

Files:
  llvm/docs/CommandGuide/llvm-readelf.rst
  llvm/docs/CommandGuide/llvm-readobj.rst
  llvm/include/llvm/Support/JSONScopedPrinter.h
  llvm/include/llvm/Support/ScopedPrinter.h
  llvm/test/tools/llvm-readobj/ELF/output-style.test
  llvm/tools/llvm-readobj/COFFDumper.cpp
  llvm/tools/llvm-readobj/ELFDumper.cpp
  llvm/tools/llvm-readobj/MachODumper.cpp
  llvm/tools/llvm-readobj/ObjDumper.cpp
  llvm/tools/llvm-readobj/ObjDumper.h
  llvm/tools/llvm-readobj/WasmDumper.cpp
  llvm/tools/llvm-readobj/XCOFFDumper.cpp
  llvm/tools/llvm-readobj/llvm-readobj.cpp
  llvm/tools/llvm-readobj/llvm-readobj.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111658.384231.patch
Type: text/x-patch
Size: 60242 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211102/dc5d5de4/attachment.bin>


More information about the llvm-commits mailing list