llvm-readobj.rst 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. llvm-readobj - LLVM Object Reader
  2. =================================
  3. SYNOPSIS
  4. --------
  5. :program:`llvm-readobj` [*options*] [*input...*]
  6. DESCRIPTION
  7. -----------
  8. The :program:`llvm-readobj` tool displays low-level format-specific information
  9. about one or more object files. The tool and its output is primarily designed
  10. for use in FileCheck-based tests.
  11. OPTIONS
  12. -------
  13. If ``input`` is "``-``" or omitted, :program:`llvm-readobj` reads from standard
  14. input. Otherwise, it will read from the specified ``filenames``.
  15. .. option:: -help
  16. Print a summary of command line options.
  17. .. option:: -version
  18. Display the version of this program
  19. .. option:: -file-headers, -h
  20. Display file headers.
  21. .. option:: -sections, -s
  22. Display all sections.
  23. .. option:: -section-data, -sd
  24. When used with ``-sections``, display section data for each section shown.
  25. .. option:: -section-relocations, -sr
  26. When used with ``-sections``, display relocations for each section shown.
  27. .. option:: -section-symbols, -st
  28. When used with ``-sections``, display symbols for each section shown.
  29. .. option:: -relocations, -r
  30. Display the relocation entries in the file.
  31. .. option:: -symbols, -t
  32. Display the symbol table.
  33. .. option:: -dyn-symbols
  34. Display the dynamic symbol table (only for ELF object files).
  35. .. option:: -unwind, -u
  36. Display unwind information.
  37. .. option:: -expand-relocs
  38. When used with ``-relocations``, display each relocation in an expanded
  39. multi-line format.
  40. .. option:: -dynamic-table
  41. Display the ELF .dynamic section table (only for ELF object files).
  42. .. option:: -needed-libs
  43. Display the needed libraries (only for ELF object files).
  44. .. option:: -program-headers
  45. Display the ELF program headers (only for ELF object files).
  46. .. option:: -elf-section-groups, -g
  47. Display section groups (only for ELF object files).
  48. EXIT STATUS
  49. -----------
  50. :program:`llvm-readobj` returns 0.