This is an archive of the discontinued LLVM Phabricator instance.

[llvm-readobj] - Refactor printGroupSections methods.
ClosedPublic

Authored by grimar on Sep 8 2017, 5:39 AM.

Details

Summary

This refactors GNUStyle<ELFT>::printGroupSections and
LLVMStyle<ELFT>::printGroupSections to split out all
duplicated code.

After the change these methods just prints the data provided
by introduced getGroups in a corresponding LLVM/GNU format.

Diff Detail

Repository
rL LLVM