[PATCH] D94659: [yaml2obj/obj2yaml] - Refine handling of SHT_GNU_verdef sections.

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 14 09:38:07 PST 2021


MaskRay accepted this revision.
MaskRay added a comment.

> Stops dumping default values for Version, Flags, VersionNdx and Hash fields.

https://maskray.me/blog/2020-11-26-all-about-symbol-versioning

In practice, one Verdef has only one auxilliary Verdaux entry. vd_hash is the ELF hash of the only vda_name and in theory the ELF hash may return 0.. But I think using 0 in obj2yaml is fine.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94659/new/

https://reviews.llvm.org/D94659



More information about the llvm-commits mailing list