[all-commits] [llvm/llvm-project] e19f19: [llvm-readobj/llvm-readelf] - Simplify the code th...
Georgii Rymar via All-commits
all-commits at lists.llvm.org
Mon Dec 2 04:14:52 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: e19f19b09f83b1d64b9513a8f209773d4e21ad15
https://github.com/llvm/llvm-project/commit/e19f19b09f83b1d64b9513a8f209773d4e21ad15
Author: Georgii Rymar <grimar at accesssoftek.com>
Date: 2019-12-02 (Mon, 02 Dec 2019)
Changed paths:
M llvm/test/tools/llvm-readobj/elf-verdef-invalid.test
M llvm/test/tools/llvm-readobj/elf-verneed-invalid.test
M llvm/tools/llvm-readobj/ELFDumper.cpp
Log Message:
-----------
[llvm-readobj/llvm-readelf] - Simplify the code that dumps versions.
After changes introduced in D70495 and D70826 its now possible
to significantly simplify the code we have.
This also fixes an issue: previous code assumed that version strings
should always be read from the dynamic string table. While it is
normally true, the string table should be taken from the corresponding
sh_link field.
Differential revision: https://reviews.llvm.org/D70855
More information about the All-commits
mailing list