OSDN Git Service

Print dylib load kind (weak, reexport, etc) in llvm-objdump -m -dylibs-used
authorMichael Trent <mtrent@apple.com>
Tue, 18 Jun 2019 22:20:10 +0000 (22:20 +0000)
committerMichael Trent <mtrent@apple.com>
Tue, 18 Jun 2019 22:20:10 +0000 (22:20 +0000)
commit595bd8b12a69952d4a72cec617c4adfd2666ba29
tree6238a59d11e86d293decfc20485ab58c35e5d2aa
parent3c55ded6d1fd207ec54dd902cec57e3550ca365e
Print dylib load kind (weak, reexport, etc) in llvm-objdump -m -dylibs-used

Summary:
Historically llvm-objdump prints the path to a dylib as well as the
dylib's compatibility version and current version number. This change
extends this information by adding the kind of dylib load: weak,
reexport, etc.

rdar://51383512

Reviewers: pete, lhames

Reviewed By: pete

Subscribers: rupprecht, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D62866

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363746 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-objdump/X86/macho-dylib.test
tools/llvm-objdump/MachODump.cpp