[PATCH] D103006: [lld][MachO] Add support for LC_DATA_IN_CODE
Alexander Shaposhnikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 13 23:38:49 PDT 2021
alexshap added inline comments.
================
Comment at: lld/test/MachO/data-in-code.s:7
+# RUN: %lld %t/basic.o -o %t/basic
+# RUN: llvm-objdump --private-headers %t/basic > %t/objdump
+# RUN: llvm-objdump --macho --data-in-code %t/basic >> %t/objdump
----------------
int3 wrote:
> if you just need this to capture the address of `__text`, `llvm-objdump --macho --section-headers` produces terser output
the output of --private-headers is also used for checking LC_DATA_IN_CODE
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103006/new/
https://reviews.llvm.org/D103006
More information about the llvm-commits
mailing list