This is an archive of the discontinued LLVM Phabricator instance.

[NFC][llvm-readobj] Refactor unique warning handler
ClosedPublic

Authored by jhenderson on Mar 25 2020, 8:16 AM.

Details

Summary

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.

Diff Detail

Event Timeline

jhenderson created this revision.Mar 25 2020, 8:16 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 25 2020, 8:16 AM
Herald added a subscriber: rupprecht. · View Herald Transcript
MaskRay accepted this revision.Mar 25 2020, 9:04 AM
This revision is now accepted and ready to land.Mar 25 2020, 9:04 AM
grimar accepted this revision.Mar 25 2020, 9:44 AM

LGTM

This revision was automatically updated to reflect the committed changes.