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

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 15 00:07:32 PST 2021


grimar added a comment.

In D94659#2498626 <https://reviews.llvm.org/D94659#2498626>, @MaskRay wrote:

> But I think using 0 in obj2yaml is fine.

Yeah, it is done for convenience - our tests often don't need to know about the hash. E.g. it is not important when printing versioned symbol names
Using 0 as the default value allows to reduce an unimportant noise in YAML descriptions.


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

https://reviews.llvm.org/D94659



More information about the llvm-commits mailing list