[all-commits] [llvm/llvm-project] 1cc78f: [llvm-readobj/llvm-readelf] - Improve dumping of v...
Georgii Rymar via All-commits
all-commits at lists.llvm.org
Wed Nov 20 00:56:11 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 1cc78fdb6f7d81d58cdafa44b0966708dc8575bf
https://github.com/llvm/llvm-project/commit/1cc78fdb6f7d81d58cdafa44b0966708dc8575bf
Author: Georgii Rymar <grimar at accesssoftek.com>
Date: 2019-11-20 (Wed, 20 Nov 2019)
Changed paths:
M lld/test/ELF/verdef-defaultver.s
M lld/test/ELF/verdef-dependency.s
M lld/test/ELF/verdef.s
M lld/test/ELF/verneed.s
M llvm/test/tools/llvm-readobj/elf-invalid-versioning.test
M llvm/test/tools/llvm-readobj/elf-versioninfo.test
M llvm/test/tools/yaml2obj/ELF/verdef-section.yaml
M llvm/test/tools/yaml2obj/ELF/verneed-section.yaml
M llvm/test/tools/yaml2obj/ELF/versym-section.yaml
M llvm/tools/llvm-readobj/ELFDumper.cpp
Log Message:
-----------
[llvm-readobj/llvm-readelf] - Improve dumping of versioning sections.
Our elf-versioninfo.test is not perfect. It does not properly test how
flags are dumped and also we have a bug: they are dumped as enums in
LLVM style now, i.e not dumped properly.
GNU style uses a `versionFlagToString` method to build a string from flags
which seems is consistent with GNU readelf.
In this patch I fixed the issues mentioned.
Differential revision: https://reviews.llvm.org/D70399
More information about the All-commits
mailing list