[docs] Make llvm-addr2line documentation more explicit about which
authorRichard Smith <richard@metafoo.co.uk>
Tue, 31 Mar 2020 03:10:57 +0000 (20:10 -0700)
committerRichard Smith <richard@metafoo.co.uk>
Tue, 31 Mar 2020 19:44:45 +0000 (12:44 -0700)
behavior is llvm-addr2line's and which is llvm-symbolizer's.

llvm/docs/CommandGuide/llvm-addr2line.rst

index 4f5881d..27b0fd9 100644 (file)
@@ -17,17 +17,19 @@ GNU's :program:`addr2line`.
 
 Here are some of those differences:
 
--  Defaults not to print function names. Use `-f`_ to enable that.
+-  ``llvm-addr2line`` defaults not to print function names. Use `-f`_ to enable
+   that.
 
--  Defaults not to demangle function names. Use `-C`_ to switch the
-   demangling on.
+-  ``llvm-addr2line`` defaults not to demangle function names. Use `-C`_ to
+   switch the demangling on.
 
--  Defaults not to print inlined frames. Use `-i`_ to show inlined
-   frames for a source code location in an inlined function.
+-  ``llvm-addr2line`` defaults not to print inlined frames. Use `-i`_ to show
+   inlined frames for a source code location in an inlined function.
 
--  Uses `--output-style=GNU`_ by default.
+-  ``llvm-addr2line`` uses `--output-style=GNU`_ by default.
 
--  Parses options from the environment variable ``LLVM_ADDR2LINE_OPTS``.
+-  ``llvm-addr2line`` parses options from the environment variable
+   ``LLVM_ADDR2LINE_OPTS`` instead of from ``LLVM_SYMBOLIZER_OPTS``.
 
 SEE ALSO
 --------