This is an archive of the discontinued LLVM Phabricator instance.

[llvm-objdump] Remove bool MachOOnlyFirst from printPrivateHeaders after D155045. NFC
ClosedPublic

Authored by MaskRay on Jul 25 2023, 9:56 PM.

Details

Summary

Mach-O can just use the global variable FirstPrivateHeader.
If we ever manage to remove global variables, we can add a Config
variable to Dumper. Either case, the parameter is not needed.

Diff Detail

Event Timeline

MaskRay created this revision.Jul 25 2023, 9:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 25 2023, 9:56 PM
Herald added subscribers: pmatos, asb, sbc100. · View Herald Transcript
MaskRay requested review of this revision.Jul 25 2023, 9:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 25 2023, 9:56 PM
jhenderson accepted this revision.Jul 25 2023, 11:58 PM

Thanks! LGTM.

This revision is now accepted and ready to land.Jul 25 2023, 11:58 PM
MaskRay retitled this revision from [llvm-objdump] Remove bool MachOOnlyFirst from printPrivateHeaders. NFC to [llvm-objdump] Remove bool MachOOnlyFirst from printPrivateHeaders after D155045. NFC.Jul 26 2023, 12:22 AM
This revision was landed with ongoing or failed builds.Jul 26 2023, 12:26 AM
This revision was automatically updated to reflect the committed changes.