[all-commits] [llvm/llvm-project] 641563: [llvm-readelf] - Do not error out when dumping sym...
Georgii Rymar via All-commits
all-commits at lists.llvm.org
Fri Jul 3 01:56:09 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 64156347baa4452489ec1c0fab8eec48d1ffd168
https://github.com/llvm/llvm-project/commit/64156347baa4452489ec1c0fab8eec48d1ffd168
Author: Georgii Rymar <grimar at accesssoftek.com>
Date: 2020-07-03 (Fri, 03 Jul 2020)
Changed paths:
M llvm/test/Object/invalid.test
M llvm/test/tools/llvm-readobj/ELF/dyn-symbols.test
M llvm/test/tools/llvm-readobj/ELF/symbols.test
M llvm/tools/llvm-readobj/ELFDumper.cpp
Log Message:
-----------
[llvm-readelf] - Do not error out when dumping symbols.
When the --symbols option/--dyn-symbols is given we might report an
error and exit when something goes not right. E.g. when the SHT_SYMTAB
section is broken. Though we could report a warning and try to continue
dumping instead in many cases.
This patch removes `unwrapOrErr` calls from the code involved in the
flow described.
Differential revision: https://reviews.llvm.org/D82955
More information about the All-commits
mailing list