Files
TheRock/compiler/amd-llvm/llvm/docs/CommandGuide/llvm-otool.rst
T
derek.holloway 7502bf64a4
CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

157 lines
2.2 KiB
ReStructuredText

llvm-otool - Mach-O dumping tool
================================
.. program:: llvm-otool
SYNOPSIS
--------
:program:`llvm-otool` [*option...*] *[file...]*
DESCRIPTION
-----------
:program:`llvm-otool` is a tool for dumping Mach-O files.
It attempts to be command-line-compatible and output-compatible with macOS's
:program:`otool`.
OPTIONS
-------
.. option:: -a
Print archive header.
.. option:: -arch <value>
Select slice of universal Mach-O file.
.. option:: -chained_fixups
Print chained fixup information.
.. option:: -C
Print linker optimization hints.
.. option:: -dyld_info
Print bind and rebase information.
.. option:: -D
Print shared library id.
.. option:: -d
Print data section.
.. option:: -f
Print universal headers.
.. option:: -G
Print data-in-code table.
.. option:: --help-hidden
Print help for hidden flags.
.. option:: --help
Print help.
.. option:: -h
Print mach header.
.. option:: -I
Print indirect symbol table.
.. option:: -j
Print opcode bytes.
.. option:: -L
Print used shared libraries.
.. option:: -l
Print load commands.
.. option:: -m
Don't use archive(member) syntax.
.. option:: -mcpu=<value>
Select cpu for disassembly.
.. option:: -o
Print Objective-C segment.
.. option:: -P
Print __TEXT,__info_plist section as strings.
.. option:: -p <function name>
Start disassembly at <function name>.
.. option:: -r
Print relocation entries.
.. option:: -s <segname> <sectname>
Print contents of section.
.. option:: -t
Print text section.
.. option:: --version
Print version.
.. option:: -V
Symbolize disassembled operands (implies :option:`-v`).
.. option:: -v
Verbose output / disassemble when printing text sections.
.. option:: -X
Omit leading addresses or headers.
.. option:: -x
Print all text sections.
.. option:: @<FILE>
Read command-line options and commands from response file `<FILE>`.
EXIT STATUS
-----------
:program:`llvm-otool` exits with a non-zero exit code if there is an error.
Otherwise, it exits with code 0.
BUGS
----
To report bugs, please visit <https://github.com/llvm/llvm-project/labels/tools:llvm-objdump/>.
SEE ALSO
--------
:manpage:`llvm-nm(1)`, :manpage:`llvm-objdump(1)`