addr2line1
A drop-in replacement for addr2line
Part of llvm-addr2line(1).
Usage
llvm-addr2line [options]
Overview
llvm-addr2line is an alias for the llvm-symbolizer(1) tool with different defaults. The goal is to make it a drop-in replacement for GNU's addr2line.
Here are some of those differences:
- •
-
llvm-addr2lineinterprets all addresses as hexadecimal and ignores an optional0xprefix, whereasllvm-symbolizerattempts to determine the base from the literal's prefix and defaults to decimal if there is no prefix.
- •
-
llvm-addr2linedefaults not to print function names. Use -f to enable that.
- •
-
llvm-addr2linedefaults not to demangle function names. Use -C to switch the demangling on.
- •
-
llvm-addr2linedefaults not to print inlined frames. Use -i to show inlined frames for a source code location in an inlined function.
- •
-
llvm-addr2lineuses --output-style=GNU by default.
- •
-
llvm-addr2lineparses options from the environment variableLLVM_ADDR2LINE_OPTSinstead of fromLLVM_SYMBOLIZER_OPTS.
Releases
77 releases since FreeBSD 3.0-RELEASE; the text changed 15 times.
- 3.0–4.3
- 4.4–4.11
- 5.0–5.2.1
- 5.3–8.4
- 9.0
- 9.1
- 9.2
- 9.3
- 10.0
- 10.1
- 10.2
- 10.3
- 10.4
- 11.0–12.0
- 12.1–14.5
- 15.0–16.0
--addresses until FreeBSD 14.5-RELEASE;
--basename until FreeBSD 14.5-RELEASE;
--basenames until FreeBSD 10.4-RELEASE;
--demangle until FreeBSD 14.5-RELEASE;
--exe until FreeBSD 10.4-RELEASE;
--functions until FreeBSD 14.5-RELEASE;
--help until FreeBSD 14.5-RELEASE;
--inlines until FreeBSD 14.5-RELEASE;
--pretty-print until FreeBSD 14.5-RELEASE;
--section until FreeBSD 10.4-RELEASE;
--target until FreeBSD 10.4-RELEASE;
--version until FreeBSD 14.5-RELEASE;
-C until FreeBSD 14.5-RELEASE;
-H until FreeBSD 14.5-RELEASE;
-V until FreeBSD 14.5-RELEASE;
-a until FreeBSD 14.5-RELEASE;
-b until FreeBSD 10.4-RELEASE;
-e until FreeBSD 10.4-RELEASE;
-f until FreeBSD 14.5-RELEASE;
-i until FreeBSD 14.5-RELEASE;
-j until FreeBSD 10.4-RELEASE;
-p until FreeBSD 14.5-RELEASE;
-s until FreeBSD 14.5-RELEASE.