diff options
author | James Henderson <jh7370@my.bristol.ac.uk> | 2019-06-14 13:00:09 +0000 |
---|---|---|
committer | James Henderson <jh7370@my.bristol.ac.uk> | 2019-06-14 13:00:09 +0000 |
commit | 891cdaab7a2957238758ebf531f784a508ab9093 (patch) | |
tree | b0d8fe34f5568d4b3322843e3da7c36fd0cc9be3 /llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp | |
parent | a1c33ed55852978925a1008c0220ac1cc40ef3c8 (diff) | |
download | bcm5719-llvm-891cdaab7a2957238758ebf531f784a508ab9093.tar.gz bcm5719-llvm-891cdaab7a2957238758ebf531f784a508ab9093.zip |
[docs][llvm-dwarfdump] Make the --show-parents and --show-children help text and docs more consistent and correct
The docs and help text for --show-parents and --show-children were a bit
inconsistent. The help text claimed they had an effect when "=<offset>"
was used, whereas the doc said it had an effect when "--find" or
"--name" were used. This change changes the doc to mention "=<offset>"
and removes this reference from the help text, to avoid having a very
long description in the help text (it still says "when selectively
printing entries").
Reviewed by: JDevlieghere, aprantl
Differential Revision: https://reviews.llvm.org/D63275
llvm-svn: 363380
Diffstat (limited to 'llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp')
-rw-r--r-- | llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp b/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp index 371e9406e1d..1efc96df665 100644 --- a/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp +++ b/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp @@ -173,14 +173,14 @@ static alias RegexAlias("x", desc("Alias for -regex"), aliasopt(UseRegex)); static opt<bool> ShowChildren("show-children", desc("Show a debug info entry's children when selectively " - "printing with the =<offset> option."), + "printing entries."), cat(DwarfDumpCategory)); static alias ShowChildrenAlias("c", desc("Alias for -show-children."), aliasopt(ShowChildren)); static opt<bool> ShowParents("show-parents", desc("Show a debug info entry's parents when selectively " - "printing with the =<offset> option."), + "printing entries."), cat(DwarfDumpCategory)); static alias ShowParentsAlias("p", desc("Alias for -show-parents."), aliasopt(ShowParents)); |