diff options
author | Georgii Rymar <grimar@accesssoftek.com> | 2019-11-28 13:20:25 +0300 |
---|---|---|
committer | Georgii Rymar <grimar@accesssoftek.com> | 2019-11-29 11:09:56 +0300 |
commit | 7ab14813619189d13382da047409a81c94ebc58d (patch) | |
tree | 18ca65241aa1c402b9ceafc8ef021a6d4c32b57e /lldb/source/Commands/CommandObjectThread.cpp | |
parent | 06e5ebf8dbd9c19c2ef58e6eee6346de8688bc5b (diff) | |
download | llvm-7ab14813619189d13382da047409a81c94ebc58d.zip llvm-7ab14813619189d13382da047409a81c94ebc58d.tar.gz llvm-7ab14813619189d13382da047409a81c94ebc58d.tar.bz2 |
[llvm-readelf/llvm-readobj] - Check version of SHT_GNU_verdef section entries when dumping.
Elfxx_Verdef contains the following field:
vd_version
Version revision. This field shall be set to 1.
(https://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/symversion.html)
Our code should check the struct version for correctness. This patch does that.
(This will help to simplify or eliminate ELFDumper<ELFT>::LoadVersionDefs() which
has it's own logic to parse version definitions for no reason. It checks the
struct version currently).
Differential revision: https://reviews.llvm.org/D70810
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions