aboutsummaryrefslogtreecommitdiff
path: root/llvm/docs/CommandGuide/llvm-symbolizer.rst
diff options
context:
space:
mode:
authorHemant Kulkarni <khemant@codeaurora.org>2015-11-11 20:41:43 +0000
committerHemant Kulkarni <khemant@codeaurora.org>2015-11-11 20:41:43 +0000
commitbdce12a01bcb9e2f99c2092be4a1a1777a38385d (patch)
treee4a6b60f80e72a2514732121b9ac6ee72c631bb3 /llvm/docs/CommandGuide/llvm-symbolizer.rst
parent932d88ca051787a2db9e8bcd06a09100c03980cd (diff)
downloadllvm-bdce12a01bcb9e2f99c2092be4a1a1777a38385d.zip
llvm-bdce12a01bcb9e2f99c2092be4a1a1777a38385d.tar.gz
llvm-bdce12a01bcb9e2f99c2092be4a1a1777a38385d.tar.bz2
[Symbolizer]: Add -pretty-print option
Differential Revision: http://reviews.llvm.org/D13671 llvm-svn: 252798
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-symbolizer.rst')
-rw-r--r--llvm/docs/CommandGuide/llvm-symbolizer.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/llvm-symbolizer.rst b/llvm/docs/CommandGuide/llvm-symbolizer.rst
index 9d6571d..dfbf491 100644
--- a/llvm/docs/CommandGuide/llvm-symbolizer.rst
+++ b/llvm/docs/CommandGuide/llvm-symbolizer.rst
@@ -56,6 +56,14 @@ EXAMPLE
foo(int)
/tmp/a.cc:12
+ $cat addr.txt
+ 0x40054d
+ $llvm-symbolizer -inlining -print-address -pretty-print -obj=addr.exe < addr.txt
+ 0x40054d: inc at /tmp/x.c:3:3
+ (inlined by) main at /tmp/x.c:9:0
+ $llvm-symbolizer -inlining -pretty-print -obj=addr.exe < addr.txt
+ inc at /tmp/x.c:3:3
+ (inlined by) main at /tmp/x.c:9:0
OPTIONS
-------
@@ -101,6 +109,10 @@ OPTIONS
.. option:: -print-address
Print address before the source code location. Defaults to false.
+.. option:: -pretty-print
+ Print human readable output. If ``-inlining`` is specified, enclosing scope is
+ prefixed by (inlined by). Refer to listed examples.
+
EXIT STATUS
-----------