llvm-size.rst 5.28 KB

llvm-size - print size information

SYNOPSIS

:program:`llvm-size` [options] [input...]

DESCRIPTION

:program:`llvm-size` is a tool that prints size information for binary files. It is intended to be a drop-in replacement for GNU's :program:`size`.

The tool prints size information for each input specified. If no input is specified, the program prints size information for a.out. If "-" is specified as an input file, :program:`llvm-size` reads a file from the standard input stream. If an input is an archive, size information will be displayed for all its members.

OPTIONS

EXIT STATUS

:program:`llvm-size` 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://bugs.llvm.org/>.