[PATCH] D91964: [llvm-readelf/obj] - Refine the implementation of `printGNUVersionSectionProlog`

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 23 06:58:12 PST 2020


grimar created this revision.
grimar added reviewers: jhenderson, MaskRay.
Herald added subscribers: rupprecht, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.
grimar requested review of this revision.

This:

1. Changes its signature.
2. Refines the name of local variable (`SymTabName`->`LinkedSecName`, because SHT_GNU_verneed/SHT_GNU_verdef are linked with the string table, not with the symbol table).
3. Stops using the `unwrapOrError` inside.


https://reviews.llvm.org/D91964

Files:
  llvm/test/tools/llvm-readobj/ELF/verdef-invalid.test
  llvm/test/tools/llvm-readobj/ELF/verneed-invalid.test
  llvm/test/tools/llvm-readobj/ELF/versym-invalid.test
  llvm/tools/llvm-readobj/ELFDumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91964.307070.patch
Type: text/x-patch
Size: 14851 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201123/d67ea777/attachment.bin>


More information about the llvm-commits mailing list