[all-commits] [llvm/llvm-project] 47e466: [llvm-objdump] Add -dyld_info to llvm-otool
Daniel Bertalan via All-commits
all-commits at lists.llvm.org
Sun Aug 28 00:35:49 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 47e4663c4eacaedab63e407651f5b045446bb36d
https://github.com/llvm/llvm-project/commit/47e4663c4eacaedab63e407651f5b045446bb36d
Author: Daniel Bertalan <dani at danielbertalan.dev>
Date: 2022-08-28 (Sun, 28 Aug 2022)
Changed paths:
M llvm/include/llvm/BinaryFormat/MachO.h
M llvm/include/llvm/Object/MachO.h
M llvm/lib/Object/MachOObjectFile.cpp
M llvm/test/tools/llvm-objdump/MachO/dyld-info.test
M llvm/tools/llvm-objdump/MachODump.cpp
Log Message:
-----------
[llvm-objdump] Add -dyld_info to llvm-otool
This option outputs the location, encoded value and target of chained
fixups, using the same format as `otool -dyld_info`.
This initial implementation only supports the DYLD_CHAINED_PTR_64 and
DYLD_CHAINED_PTR_64_OFFSET pointer encodings, which are used in x86_64
and arm64 userspace binaries.
When Apple's effort to upstream their chained fixups code continues,
we'll replace this code with the then-upstreamed code. But we need
something in the meantime for testing ld64.lld's chained fixups code.
Differential Revision: https://reviews.llvm.org/D132036
More information about the All-commits
mailing list