From 33c16a3f16fa56ad945e086af669760e0b80d8c7 Mon Sep 17 00:00:00 2001 From: James Henderson Date: Tue, 22 Jan 2019 10:24:32 +0000 Subject: [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 --- llvm/docs/CommandGuide/llvm-symbolizer.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'llvm/docs/CommandGuide/llvm-symbolizer.rst') 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 ----------- -- cgit v1.2.3