[llvm-readobj] - Stop using `unwrapOrError` in `DumpStyle<ELFT>::getGroups()`
authorGeorgii Rymar <grimar@accesssoftek.com>
Fri, 20 Nov 2020 09:03:18 +0000 (12:03 +0300)
committerGeorgii Rymar <grimar@accesssoftek.com>
Mon, 23 Nov 2020 09:48:33 +0000 (12:48 +0300)
commit4dcdf0df31259c1c02a1f7bbaa7ae45ca6c814dc
tree589e4cd26ca46d6c55e55362ce0caa621c622cf1
parentfee78fb0049ae2556c99768a06421d7cdbb9d016
[llvm-readobj] - Stop using `unwrapOrError` in `DumpStyle<ELFT>::getGroups()`

With this we are able to diagnose possible issues much better and
don't exit on an error.

Differential revision: https://reviews.llvm.org/D91867
llvm/test/tools/llvm-readobj/ELF/groups.test
llvm/tools/llvm-readobj/ELFDumper.cpp