blob: a03844da1a2c589a5cb13c532d906e2741577730 [file] [log] [blame] [view]
Jordan Rupprecht4c3722a2019-06-11 21:13:01 +00001# 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
10a command-line interface and output style more closely resembling GNU
11**readelf**.
12
13Here 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
28Refer to [llvm-readobj](llvm-readobj.html) for additional information.