[PATCH] D76777: [NFC][llvm-readobj] Refactor unique warning handler

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 25 08:37:23 PDT 2020


jhenderson created this revision.
jhenderson added reviewers: grimar, MaskRay.
Herald added a subscriber: rupprecht.
Herald added a project: LLVM.

The unique warning handler was previously a property of the dump style, but it is commonly used in the dumper too. Since the two ELF output styles have no impact on the way warnings are printed, this patch moves the handler and related functions into the dumper class, instead of the dump style class.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D76777

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76777.252580.patch
Type: text/x-patch
Size: 6522 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200325/6c5b861c/attachment.bin>


More information about the llvm-commits mailing list