HomePhabricator

[llvm-readobj] - Remove code duplication when printing dynamic relocations.

Authored by grimar on Mon, Sep 7, 5:52 AM.

Description

[llvm-readobj] - Remove code duplication when printing dynamic relocations. NFCI.

LLVM style code can be simplified to avoid the duplication of logic
related to printing dynamic relocations.

Differential revision: https://reviews.llvm.org/D87089