Options (3)
-e, --exebooleanDisplay the filename and line number of the source code from an instruction address of an executable
Example:
addr2line {{[-e|--exe]}} {{path/to/executable}} {{address}}-f, --functionsbooleanDisplay the function name, filename, and line number
Example:
addr2line {{[-e|--exe]}} {{path/to/executable}} {{[-f|--functions]}} {{address}}-C, --demanglebooleanDemangle the function name for C++ code
Example:
addr2line {{[-e|--exe]}} {{path/to/executable}} {{[-f|--functions]}} {{[-C|--demangle]}} {{address}}Examples (3)
Display the filename and line number of the source code from an instruction address of an executable
addr2line [-e|--exe] path/to/executable addressDisplay the function name, filename, and line number
addr2line [-e|--exe] path/to/executable [-f|--functions] addressDemangle the function name for C++ code
addr2line [-e|--exe] path/to/executable [-f|--functions] [-C|--demangle] addressmade by @shridhargupta | data from tldr-pages