[PATCH] D101786: [llvm-objdump] Exclude __mh_execute_header symbol during MachO disassembly
Jez Ng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 11 09:53:44 PDT 2021
int3 added inline comments.
================
Comment at: llvm/test/tools/llvm-objdump/MachO/no-text-symbols-disassembly.test:76
+ version: 0
+ - cmd: LC_UNIXTHREAD
+ cmdsize: 184
----------------
I believe `LC_UNIXTHREAD` is emitted when linking for older target versions. If you pass a modern macOS version to the ld64 you should get `LC_MAIN` instead. Not that it really matters, but LC_MAIN is generally more compact to encode, especially in yaml -- it doesn't have all those PayloadBytes.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101786/new/
https://reviews.llvm.org/D101786
More information about the llvm-commits
mailing list