diff options
author | James Henderson <jh7370@my.bristol.ac.uk> | 2019-01-22 10:24:32 +0000 |
---|---|---|
committer | James Henderson <jh7370@my.bristol.ac.uk> | 2019-01-22 10:24:32 +0000 |
commit | 33c16a3f16fa56ad945e086af669760e0b80d8c7 (patch) | |
tree | b820794d444c44cfa8cbbab75a51231834b22d40 /llvm/docs/CommandGuide/llvm-symbolizer.rst | |
parent | ca45087826f66d4e9848a3c10925ff02c924de2c (diff) | |
download | bcm5719-llvm-33c16a3f16fa56ad945e086af669760e0b80d8c7.tar.gz bcm5719-llvm-33c16a3f16fa56ad945e086af669760e0b80d8c7.zip |
[llvm-symbolizer] Add support for --basenames/-s
This fixes https://bugs.llvm.org/show_bug.cgi?id=40068.
--basenames is a GNU addr2line switch which strips the directory names
from the file path in the output.
Reviewed by: ruiu
Differential Revision: https://reviews.llvm.org/D56919
llvm-svn: 351795
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-symbolizer.rst')
-rw-r--r-- | llvm/docs/CommandGuide/llvm-symbolizer.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/llvm-symbolizer.rst b/llvm/docs/CommandGuide/llvm-symbolizer.rst index 56999207e20..bfe8f3ee6bb 100644 --- a/llvm/docs/CommandGuide/llvm-symbolizer.rst +++ b/llvm/docs/CommandGuide/llvm-symbolizer.rst @@ -119,6 +119,10 @@ OPTIONS Print human readable output. If ``-inlining`` is specified, enclosing scope is prefixed by (inlined by). Refer to listed examples. +.. option:: -basenames, -s + + Strip directories when printing the file path. + EXIT STATUS ----------- |