Jordan Rupprecht | 4c3722a | 2019-06-11 21:13:01 +0000 | [diff] [blame] | 1 | # llvm-readelf - a drop-in replacement for readelf |
| 2 | |
| 3 | ## SYNOPSIS |
| 4 | |
| 5 | **llvm-readelf** [*options*] |
| 6 | |
| 7 | ## DESCRIPTION |
| 8 | |
| 9 | **llvm-readelf** is an alias for the [llvm-readobj](llvm-readobj.html) tool with |
| 10 | a command-line interface and output style more closely resembling GNU |
| 11 | **readelf**. |
| 12 | |
| 13 | Here are some of those differences: |
| 14 | |
| 15 | * Uses `--elf-output-style=GNU` by default. |
| 16 | |
| 17 | * Allows single-letter grouped flags (e.g. `llvm-readelf -SW` is the same as |
| 18 | `llvm-readelf -S -W`). |
| 19 | |
| 20 | * Allows use of `-s` as an alias for `--symbols` (versus `--section-headers` in |
| 21 | **llvm-readobj**) for GNU **readelf** compatibility. |
| 22 | |
| 23 | * Prevents use of `-sr`, `-sd`, `-st` and `-dt` **llvm-readobj** aliases, to |
| 24 | avoid conflicting with standard GNU **readelf** grouped flags. |
| 25 | |
| 26 | ## SEE ALSO |
| 27 | |
| 28 | Refer to [llvm-readobj](llvm-readobj.html) for additional information. |