[PATCH] D70810: [llvm-readelf/llvm-readobj] - Check version of SHT_GNU_verdef section entries when dumping.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 28 23:58:55 PST 2019


grimar added a comment.

In D70810#1763446 <https://reviews.llvm.org/D70810#1763446>, @MaskRay wrote:

> LG, though I think whether the `!= 1` is there does not matter (FTR gold has a version mismatch diagnostic but readelf doesn't).


I think it just a bug of readelf. I believe it is unlikely that structure will change in incompatible way, but if it is, readelf will fail.


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

https://reviews.llvm.org/D70810





More information about the llvm-commits mailing list