[all-commits] [llvm/llvm-project] 686d8c: [llvm-objdump] Complete -chained_fixups support
Daniel Bertalan via All-commits
all-commits at lists.llvm.org
Wed Aug 24 10:29:44 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 686d8ce1ab16171c66973e065eada5b6419a0c98
https://github.com/llvm/llvm-project/commit/686d8ce1ab16171c66973e065eada5b6419a0c98
Author: Daniel Bertalan <dani at danielbertalan.dev>
Date: 2022-08-24 (Wed, 24 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/chained-fixups.test
M llvm/tools/llvm-objdump/MachODump.cpp
Log Message:
-----------
[llvm-objdump] Complete -chained_fixups support
This commit adds definitions for the `dyld_chained_import*` structs.
The imports array is now printed with `llvm-otool -chained_fixups`. This
completes this option's implementation.
A slight difference from cctools otool is that we don't yet dump the
raw bytes of the imports entries.
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/D131982
More information about the All-commits
mailing list