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-  ``llvm-addr2line`` defaults not to print function names. Use `-f`_ to enable
21   that.
22
23-  ``llvm-addr2line`` defaults not to demangle function names. Use `-C`_ to
24   switch the demangling on.
25
26-  ``llvm-addr2line`` defaults not to print inlined frames. Use `-i`_ to show
27   inlined frames for a source code location in an inlined function.
28
29-  ``llvm-addr2line`` uses `--output-style=GNU`_ by default.
30
31-  ``llvm-addr2line`` parses options from the environment variable
32   ``LLVM_ADDR2LINE_OPTS`` instead of from ``LLVM_SYMBOLIZER_OPTS``.
33
34SEE ALSO
35--------
36
37:manpage:`llvm-symbolizer(1)`
38
39.. _-f: llvm-symbolizer.html#llvm-symbolizer-opt-f
40.. _-C: llvm-symbolizer.html#llvm-symbolizer-opt-c
41.. _-i: llvm-symbolizer.html#llvm-symbolizer-opt-i
42.. _--output-style=GNU: llvm-symbolizer.html#llvm-symbolizer-opt-output-style
43