Jordan Rupprecht | a28b8d7 | 2019-08-21 18:00:17 +0000 | [diff] [blame] | 1 | llvm-addr2line - a drop-in replacement for addr2line |
| 2 | ==================================================== |
| 3 | |
| 4 | .. program:: llvm-addr2line |
| 5 | |
| 6 | SYNOPSIS |
| 7 | -------- |
| 8 | |
| 9 | :program:`llvm-addr2line` [*options*] |
| 10 | |
| 11 | DESCRIPTION |
| 12 | ----------- |
| 13 | |
| 14 | :program:`llvm-addr2line` is an alias for the :manpage:`llvm-symbolizer(1)` |
| 15 | tool with different defaults. The goal is to make it a drop-in replacement for |
| 16 | GNU's :program:`addr2line`. |
| 17 | |
| 18 | Here 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 | |
Petr Hosek | dedad08 | 2019-12-18 10:19:47 -0800 | [diff] [blame] | 30 | - Parses options from the environment variable ``LLVM_ADDR2LINE_OPTS``. |
| 31 | |
Jordan Rupprecht | a28b8d7 | 2019-08-21 18:00:17 +0000 | [diff] [blame] | 32 | SEE 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 |