X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=docs%2FCommandGuide%2Fllvm-symbolizer.rst;fp=docs%2FCommandGuide%2Fllvm-symbolizer.rst;h=dfbf4919abe2cab1a9871bdb5102f42323252381;hp=9d6571d5c4c2a954c6dfb7b4adcad347670d4b2c;hb=a07496f56ab22b54a0575bb54461db785dfc3049;hpb=f805775e099a8ed0fb6f5f5dfd6c4504f7187fcf diff --git a/docs/CommandGuide/llvm-symbolizer.rst b/docs/CommandGuide/llvm-symbolizer.rst index 9d6571d5c4c..dfbf4919abe 100644 --- a/docs/CommandGuide/llvm-symbolizer.rst +++ b/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 -----------