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


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


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

Contributing author: