[PATCH] D73174: [llvm-readobj] - Refine --needed-libs implementation and add a test.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 22 04:25:52 PST 2020


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

We have no good test for --needed-libs option.
The one we have as a part of Object/readobj-shared-object.test
is not complete.

In this patch I've did a minor NFC changes to the implementation and
added a test. This allowed to remove this piece from
Object/readobj-shared-object.test


https://reviews.llvm.org/D73174

Files:
  llvm/test/Object/readobj-shared-object.test
  llvm/test/tools/llvm-readobj/ELF/needed-libs.test
  llvm/tools/llvm-readobj/ELFDumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73174.239542.patch
Type: text/x-patch
Size: 4074 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200122/74c9e914/attachment.bin>


More information about the llvm-commits mailing list