[PATCH] D106643: [llvm-readobj][XCOFF] Add support for `--needed-libs` option.
Esme Yi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 23 03:01:07 PDT 2021
Esme created this revision.
Esme added reviewers: jhenderson, shchenz, Higuoxing, jsji, PowerPC, sfertile.
Herald added subscribers: rupprecht, hiraditya.
Esme requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.
This patch is trying to add support for `llvm-readobj --needed-libs` option under XCOFF.
For XCOFF, the needed libraries can be found from the Import File ID Name Table of the Loader Section.
Currently, I am using binary inputs in the test since yaml2obj does not yet support for writing the Loader Section and the import file table.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D106643
Files:
llvm/include/llvm/Object/XCOFFObjectFile.h
llvm/lib/Object/XCOFFObjectFile.cpp
llvm/test/tools/llvm-readobj/XCOFF/Inputs/needed-libs-32.o
llvm/test/tools/llvm-readobj/XCOFF/Inputs/needed-libs-64.o
llvm/test/tools/llvm-readobj/XCOFF/needed-libs.test
llvm/tools/llvm-readobj/ObjDumper.cpp
llvm/tools/llvm-readobj/XCOFFDumper.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106643.361143.patch
Type: text/x-patch
Size: 7282 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210723/caa8cce3/attachment.bin>
More information about the llvm-commits
mailing list