[all-commits] [llvm/llvm-project] 7f362f: [llvm-readelf] - Make GNU style dumping of invalid...
Georgii Rymar via All-commits
all-commits at lists.llvm.org
Thu Nov 28 01:41:49 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 7f362f04a7812111dec7eb11279a53566e09cdfb
https://github.com/llvm/llvm-project/commit/7f362f04a7812111dec7eb11279a53566e09cdfb
Author: Georgii Rymar <grimar at accesssoftek.com>
Date: 2019-11-28 (Thu, 28 Nov 2019)
Changed paths:
M llvm/test/tools/llvm-readobj/elf-verdef-invalid.test
M llvm/tools/llvm-readobj/ELFDumper.cpp
Log Message:
-----------
[llvm-readelf] - Make GNU style dumping of invalid SHT_GNU_verdef be consistent with LLVM style.
When we dump SHT_GNU_verdef section that has sh_link that references a non-existent section,
llvm-readobj reports a warning and continues dump, but llvm-readelf fails with a error.
This patch fixes the issue and opens road for futher follow-ups for
improving the printGNUVersionSectionProlog().
Differential revision: https://reviews.llvm.org/D70776
More information about the All-commits
mailing list