[PATCH] D115563: [WIP] Override methods in LLVMELFDumper which use startline()

Jayson Yan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 10 16:34:46 PST 2021


Jaysonyan created this revision.
Jaysonyan added a reviewer: leonardchan.
Herald added subscribers: luke957, s.egerton, rupprecht, simoncook.
Herald added a reviewer: jhenderson.
Jaysonyan requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.

This is an out-of-date change that was used to override methods in LLVMELFDumper to support JSON printing,
The change pre-dates the addition of the JSONScopedPrinter, so now most of the LLVMELFDumper methods
don't need to be overridden. The only ones that should be overridden are ones that call the `startLine()` or `getOStream()`
methods of the `ScopedPrinter`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D115563

Files:
  llvm/tools/llvm-readobj/ELFDumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115563.393632.patch
Type: text/x-patch
Size: 10518 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211211/00afc03b/attachment.bin>


More information about the llvm-commits mailing list