1llvm-addr2line - a drop-in replacement for addr2line
2====================================================
3
4.. program:: llvm-addr2line
5
6SYNOPSIS
7--------
8
9:program:`llvm-addr2line` [*options*]
10
11DESCRIPTION
12-----------
13
14:program:`llvm-addr2line` is an alias for the :manpage:`llvm-symbolizer(1)`
15tool with different defaults. The goal is to make it a drop-in replacement for
16GNU's :program:`addr2line`.
17
18Here are some of those differences:
19
20-  Defaults not to print function names. Use `-f`_ to enable that.
21
22-  Defaults not to demangle function names. Use `-C`_ to switch the
23   demangling on.
24
25-  Defaults not to print inlined frames. Use `-i`_ to show inlined
26   frames for a source code location in an inlined function.
27
28-  Uses `--output-style=GNU`_ by default.
29
30-  Parses options from the environment variable ``LLVM_ADDR2LINE_OPTS``.
31
32SEE ALSO
33--------
34
35:manpage:`llvm-symbolizer(1)`
36
37.. _-f: llvm-symbolizer.html#llvm-symbolizer-opt-f
38.. _-C: llvm-symbolizer.html#llvm-symbolizer-opt-c
39.. _-i: llvm-symbolizer.html#llvm-symbolizer-opt-i
40.. _--output-style=GNU: llvm-symbolizer.html#llvm-symbolizer-opt-output-style
41