From dac81097bda569193db5de517816aa6fc1a3c918 Mon Sep 17 00:00:00 2001 From: James Henderson Date: Tue, 9 Jul 2019 10:03:12 +0000 Subject: [PATCH] [docs][llvm-dwarfdump] Make some option descriptions clearer and more precise Some of the wording in the doc (taken largely from the help text), was a little imprecise in some cases, so this patch makes it a little more precise. Reviewed by: JDevlieghere, probinson Differential Revision: https://reviews.llvm.org/D64332 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365451 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/CommandGuide/llvm-dwarfdump.rst | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/docs/CommandGuide/llvm-dwarfdump.rst b/docs/CommandGuide/llvm-dwarfdump.rst index 1a128e5cb4b..25741449430 100644 --- a/docs/CommandGuide/llvm-dwarfdump.rst +++ b/docs/CommandGuide/llvm-dwarfdump.rst @@ -68,15 +68,12 @@ OPTIONS .. option:: -i, --ignore-case - Ignore case distinctions when searching. + Ignore case distinctions when using :option:`--name`. -.. option:: -n , --name= +.. option:: -n , --name= Find and print all debug info entries whose name - (`DW_AT_name` attribute) matches the exact text in - . Use the :option:`--regex` option to have - become a regular expression for more flexible - pattern matching. + (`DW_AT_name` attribute) is . .. option:: --lookup=
@@ -96,8 +93,8 @@ OPTIONS .. option:: --parent-recurse-depth= - Only recurse to a maximum depth of when displaying parents of - debug info entries. + When displaying debug info entry parents, only show them to a + maximum depth of . .. option:: --quiet @@ -105,8 +102,8 @@ OPTIONS .. option:: -r , --recurse-depth= - Only recurse to a maximum depth of when dumping debug info - entries. + When displaying debug info entries, only show children to a maximum + depth of . .. option:: --statistics @@ -119,8 +116,9 @@ OPTIONS .. option:: -x, --regex - Treat any strings as regular expressions when searching - instead of just as an exact string match. + Treat any strings as regular expressions when searching + with :option:`--name`. If :option:`--ignore-case` is also specified, + the regular expression becomes case-insensitive. .. option:: -u, --uuid -- 2.50.1