[obj2yamp] - Simplify and cleanup the code in ELFDumper<ELFT>::dumpGroup a bit. NFC.
authorGeorge Rimar <grimar@accesssoftek.com>
Wed, 24 Apr 2019 15:03:53 +0000 (15:03 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Wed, 24 Apr 2019 15:03:53 +0000 (15:03 +0000)
commit93a47a6291a9d6d71e94f28970a99dd309973118
treeaba638203698a2a8d7426f4887a092d698f3d64b
parenta5f8dcb63f08fd93dbb8cc53bf9dfb6953f952ce
[obj2yamp] - Simplify and cleanup the code in ELFDumper<ELFT>::dumpGroup a bit. NFC.

This makes the variables naming to match LLVM style,
simplifies the code used to extract the group members,
simplifies the loop and reorders the code around a bit.

llvm-svn: 359101
llvm/tools/obj2yaml/elf2yaml.cpp