Skip to content

Commit 11ccad6

Browse files
committed
[docs] Make llvm-addr2line documentation more explicit about which
behavior is llvm-addr2line's and which is llvm-symbolizer's.
1 parent d26435c commit 11ccad6

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

llvm/docs/CommandGuide/llvm-addr2line.rst

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,19 @@ GNU's :program:`addr2line`.
1717

1818
Here are some of those differences:
1919

20-
- Defaults not to print function names. Use `-f`_ to enable that.
20+
- ``llvm-addr2line`` defaults not to print function names. Use `-f`_ to enable
21+
that.
2122

22-
- Defaults not to demangle function names. Use `-C`_ to switch the
23-
demangling on.
23+
- ``llvm-addr2line`` defaults not to demangle function names. Use `-C`_ to
24+
switch the demangling on.
2425

25-
- Defaults not to print inlined frames. Use `-i`_ to show inlined
26-
frames for a source code location in an inlined function.
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.
2728

28-
- Uses `--output-style=GNU`_ by default.
29+
- ``llvm-addr2line`` uses `--output-style=GNU`_ by default.
2930

30-
- Parses options from the environment variable ``LLVM_ADDR2LINE_OPTS``.
31+
- ``llvm-addr2line`` parses options from the environment variable
32+
``LLVM_ADDR2LINE_OPTS`` instead of from ``LLVM_SYMBOLIZER_OPTS``.
3133

3234
SEE ALSO
3335
--------

0 commit comments

Comments
 (0)