addr2line

Convert addresses into line number/file name pairs (GNU)

Syntax:

addr2line_variant [options] [addr ...]

where addr2line_variant depends on the target platform, as follows:

Target platform addr2line_variant
ARMv7 ntoarmv7-addr2line
AArch64 ntoaarch64-addr2line
x86 ntox86-addr2line
x86 64-bit ntox86_64-addr2line

Runs on:

Linux, Mac, Microsoft Windows

Description:

The addr2line utility translates program addresses into file names and line numbers. Given an address and an executable, it uses the debugging information in the executable to figure out which file name and line number are associated with a given address.

For more information, see the Binutils documentation on the GNU website at https://www.gnu.org/software/binutils/manual/.

Contributing author:

GNU