OS Manuals

/usr/bin/llvm-readobj

Low-level virtual machine 23 - core frameworks

From llvm-23 23.1.5-r0 (os), captured 2026-11-05 by running llvm-readobj --help (exit 0). permalink

Also provided by 9 other package versions
OVERVIEW: LLVM Object Reader

USAGE: /usr/bin/llvm-readobj [options] <input object files>

OPTIONS:
  --addrsig              Display address-significance table
  --all                  Equivalent to setting: --file-header, --program-headers, --section-headers, --symbols, --relocations, --dynamic-table, --notes, --version-info, --unwind, --section-groups and --histogram
  --arch-specific        Display architecture-specific information
  -A                     Alias for --arch-specific
  -a                     Alias for --all
  --bb-addr-map          Display the BB address map section
  --call-graph-info      Display call graph information
  --cg-profile           Display call graph profile section
  -C                     Alias for --demangle
  --decompress           Dump decompressed section content when used with -x or -p
  --demangle             Demangle symbol names
  --dependent-libraries  Display the dependent libraries section
  --dt                   Alias for --dyn-syms
  --dyn-relocations      Display the dynamic relocation entries in the file
  --dyn-symbols          Alias for --dyn-syms
  --dyn-syms             Display the dynamic symbol table
  --dynamic              Alias for --dynamic-table
  --expand-relocs        Expand each shown relocation to multiple lines
  --extra-sym-info       Display extra information when showing symbols
  -e                     Alias for --headers
  --file-header          Display file header
  --headers              Equivalent to setting: --file-header, --program-headers, --section-headers
  --help                 Display this help
  --hex-dump=<name or index>
                         Display the specified section(s) as hexadecimal bytes
  -h                     Alias for --file-header
  -l                     Alias for --program-headers
  --no-demangle          Do not demangle symbol names (default)
  -n                     Alias for --notes
  --offloading           Display the content of the offloading section
  --pretty-pgo-analysis-map
                         Display PGO analysis values with formatting rather than raw numbers
  --pretty-print         Pretty print JSON output
  -p <name or index>     Alias for --string-dump
  --relocations          Alias for --relocs
  --relocs               Display the relocation entries in the file
  -r                     Alias for --relocs
  --sd                   Alias for --section-data
  --section-data         Display section data for each section shown. This option has no effect for GNU style output
  --section-details      Display the section details
  --section-headers      Display section headers
  --section-mapping      Display the section to segment mapping
  --section-relocations  Display relocations for each section shown. This option has no effect for GNU style output
  --section-symbols      Display symbols for each section shown. This option has no effect for GNU style output
  --sections             Alias for --section-headers
  --sort-symbols=<value> Specify the keys to sort the symbols before displaying symtab
  --sr                   Alias for --section-relocations
  --stack-sizes          Display contents of all stack sizes sections. This option has no effect for GNU style output
  --stackmap             Display contents of stackmap section
  --string-dump=<name or index>
                         Display the specified section(s) as a list of strings
  --string-table         Display the string table (only for XCOFF/COFF now)
  --st                   Alias for --section-symbols
  --symbols              Display the symbol table. Also display the dynamic symbol table when using GNU output style for ELF
  --syms                 Alias for --symbols
  -S                     Alias for --section-headers
  -s                     Alias for --symbols
  -t                     Alias for --section-details
  --unwind-show-wod-pool Also display the raw Windows x64 unwind V3 WOD pool with byte offsets (requires --unwind)
  --unwind               Display unwind information
  -u                     Alias for --unwind
  --version              Display the version
  --wide                 Ignored for GNU readelf compatibility
  -W                     Ignored for GNU readelf compatibility
  -x <name or index>     Alias for --hex-dump
  -z                     Alias for --decompress

OPTIONS (ELF specific):
  --dynamic-table      Display the dynamic section table
  -d                   Alias for --dynamic-table
  --elf-linker-options Display the .linker-options section
  --elf-output-style=<value>
                       Specify ELF dump style: LLVM, GNU, JSON
  --gnu-hash-table     Display the GNU hash table for dynamic symbols
  -g                   Alias for --section-groups
  --hash-symbols       Display the dynamic symbols derived from the hash section
  --hash-table         Display .hash section
  --histogram          Display bucket list histogram for hash sections
  -I                   Alias for --histogram
  --memtag             Display memory tagging metadata (modes, Android notes, global descriptors)
  --needed-libs        Display the needed libraries
  --notes              Display notes
  --program-headers    Display program headers
  --section-groups     Display section groups
  --segments           Alias for --program-headers
  --sframe=<name>      Display SFrame section <name>
  --sframe             Alias for --sframe=.sframe
  --version-info       Display version sections
  -V                   Alias for --version-info
  -X                   Alias for --extra-sym-info

OPTIONS (Mach-O specific):
  --macho-data-in-code   Display Data in Code command
  --macho-dysymtab       Display Dysymtab command
  --macho-indirect-symbols
                         Display indirect symbols
  --macho-linker-options Display linker options
  --macho-segment        Display Segment command
  --macho-version-min    Display version min command

OPTIONS (PE/COFF specific):
  --codeview-ghash        Enable global hashing for CodeView type stream de-duplication
  --codeview-merged-types Display the merged CodeView type stream
  --codeview-subsection-bytes
                          Dump raw contents of codeview debug sections and records
  --codeview              Display CodeView debug information
  --coff-basereloc        Display .reloc section
  --coff-debug-directory  Display debug directory
  --coff-directives       Display .drectve section
  --coff-exports          Display export table
  --coff-imports          Display import table
  --coff-load-config      Display load config
  --coff-pseudoreloc      Display runtime pseudo-relocations (Cygwin/MinGW specific)
  --coff-resources        Display .rsrc section
  --coff-tls-directory    Display TLS directory

OPTIONS (XCOFF specific):
  --auxiliary-header      Display the auxiliary header
  --exception-section     Display the exception section entries
  --loader-section-header Display the loader section header
  --loader-section-relocations
                          Display the loader section relocation entries
  --loader-section-symbols
                          Display the loader section symbol table

Pass @FILE as argument to read options from FILE.
Options (99)
OptionDescriptionSource
--addrsigDisplay address-significance tablehelp
--allEquivalent to setting: --file-header, --program-headers, --section-headers, --symbols, --relocations, --dynamic-table, --notes, --version-info, --unwind, --section-groups and --histogramhelp
--arch-specificDisplay architecture-specific informationhelp
-AAlias for --arch-specifichelp
-aAlias for --allhelp
--bb-addr-mapDisplay the BB address map sectionhelp
--call-graph-infoDisplay call graph informationhelp
--cg-profileDisplay call graph profile sectionhelp
-CAlias for --demanglehelp
--decompressDump decompressed section content when used with -x or -phelp
--demangleDemangle symbol nameshelp
--dependent-librariesDisplay the dependent libraries sectionhelp
--dtAlias for --dyn-symshelp
--dyn-relocationsDisplay the dynamic relocation entries in the filehelp
--dyn-symbolsAlias for --dyn-symshelp
--dyn-symsDisplay the dynamic symbol tablehelp
--dynamicAlias for --dynamic-tablehelp
--expand-relocsExpand each shown relocation to multiple lineshelp
--extra-sym-infoDisplay extra information when showing symbolshelp
-eAlias for --headershelp
--file-headerDisplay file headerhelp
--headersEquivalent to setting: --file-header, --program-headers, --section-headershelp
--helpDisplay this helphelp
-hAlias for --file-headerhelp
-lAlias for --program-headershelp
--no-demangleDo not demangle symbol names (default)help
-nAlias for --noteshelp
--offloadingDisplay the content of the offloading sectionhelp
--pretty-pgo-analysis-mapDisplay PGO analysis values with formatting rather than raw numbershelp
--pretty-printPretty print JSON outputhelp
-p nameAlias for --string-dumphelp
--relocationsAlias for --relocshelp
--relocsDisplay the relocation entries in the filehelp
-rAlias for --relocshelp
--sdAlias for --section-datahelp
--section-dataDisplay section data for each section shown.help
--section-detailsDisplay the section detailshelp
--section-headersDisplay section headershelp
--section-mappingDisplay the section to segment mappinghelp
--section-relocationsDisplay relocations for each section shown.help
--section-symbolsDisplay symbols for each section shown.help
--sectionsAlias for --section-headershelp
--srAlias for --section-relocationshelp
--stack-sizesDisplay contents of all stack sizes sections.help
--stackmapDisplay contents of stackmap sectionhelp
--string-tableDisplay the string table (only for XCOFF/COFF now)help
--stAlias for --section-symbolshelp
--symbolsDisplay the symbol table.help
--symsAlias for --symbolshelp
-SAlias for --section-headershelp
-sAlias for --symbolshelp
-tAlias for --section-detailshelp
--unwindDisplay unwind informationhelp
-uAlias for --unwindhelp
--versionDisplay the versionhelp
--wideIgnored for GNU readelf compatibilityhelp
-WIgnored for GNU readelf compatibilityhelp
-x nameAlias for --hex-dumphelp
-zAlias for --decompresshelp
--dynamic-tableDisplay the dynamic section tablehelp
-dAlias for --dynamic-tablehelp
--elf-output-style valueSpecify ELF dump style: LLVM, GNU, JSONhelp
--gnu-hash-tableDisplay the GNU hash table for dynamic symbolshelp
-gAlias for --section-groupshelp
--hash-symbolsDisplay the dynamic symbols derived from the hash sectionhelp
--hash-tableDisplay .hash sectionhelp
--histogramDisplay bucket list histogram for hash sectionshelp
-IAlias for --histogramhelp
--memtagDisplay memory tagging metadata (modes, Android notes, global descriptors)help
--needed-libsDisplay the needed librarieshelp
--notesDisplay noteshelp
--program-headersDisplay program headershelp
--section-groupsDisplay section groupshelp
--segmentsAlias for --program-headershelp
--sframe nameDisplay SFrame section <name>help
--version-infoDisplay version sectionshelp
-VAlias for --version-infohelp
-XAlias for --extra-sym-infohelp
--macho-data-in-codeDisplay Data in Code commandhelp
--macho-dysymtabDisplay Dysymtab commandhelp
--macho-indirect-symbolsDisplay indirect symbolshelp
--macho-segmentDisplay Segment commandhelp
--macho-version-minDisplay version min commandhelp
--codeview-ghashEnable global hashing for CodeView type stream de-duplicationhelp
--codeview-subsection-bytesDump raw contents of codeview debug sections and recordshelp
--codeviewDisplay CodeView debug informationhelp
--coff-baserelocDisplay .reloc sectionhelp
--coff-debug-directoryDisplay debug directoryhelp
--coff-directivesDisplay .drectve sectionhelp
--coff-exportsDisplay export tablehelp
--coff-importsDisplay import tablehelp
--coff-load-configDisplay load confighelp
--coff-pseudorelocDisplay runtime pseudo-relocations (Cygwin/MinGW specific)help
--coff-resourcesDisplay .rsrc sectionhelp
--coff-tls-directoryDisplay TLS directoryhelp
--auxiliary-headerDisplay the auxiliary headerhelp
--exception-sectionDisplay the exception section entrieshelp
--loader-section-relocationsDisplay the loader section relocation entrieshelp
--loader-section-symbolsDisplay the loader section symbol tablehelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.