Main index | Section 1 | 日本語 | Options |
Program addresses specified by arguments hexaddress are encoded using the conventions accepted by strtoull(3).
By default,
addr2line
will use the executable
" a.out".
The
The addr2line utility recognizes the following options:
| |
Display the address prior to the line number information. | |
| |
This option is recognized by addr2line but is ignored. It is supported for compatibility with GNU binutils. | |
| |
Use the ELF object specified by argument pathname to translate addresses. If this option is not specified, addr2line will use the file " a.out". | |
| |
Display function names in addition to file and line number information. | |
| |
If the address specified belongs to an inlined function, also display the line number information for its caller, recursively until the first non-inlined caller. | |
| |
The values specified by arguments hexaddress are to be treated as offsets into the section named sectionname. | |
| |
Display the line number information on one line, in human readable manner. | |
| |
Display only the base name for each file name. | |
| |
Demangle C++ names. | |
| |
Print a help message. | |
| |
Print a version identifier and exit. | |
If the
If the
The addr2line utility prints the file name and line number using the format "FILENAME:LINENUMBER".
If a file or function name could not be determined, addr2line will print a question mark in their place. If the line number could not be determined, addr2line will print a zero in its place.
To map address 080483c4 in executable helloworld, use:
To have addr2line act as a filter reading addresses from its standard input use:
To print the function name corresponding to an address in addition to its source file and line number use:
ADDR2LINE (1) | November 30, 2015 |
Main index | Section 1 | 日本語 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.