diff --git a/llvm/docs/CommandGuide/llvm-dwarfdump.rst b/llvm/docs/CommandGuide/llvm-dwarfdump.rst index 27ad4226e6cf9..137830259eb64 100644 --- a/llvm/docs/CommandGuide/llvm-dwarfdump.rst +++ b/llvm/docs/CommandGuide/llvm-dwarfdump.rst @@ -83,7 +83,7 @@ OPTIONS .. option:: -n , --name= Find and print all debug info entries whose name - (`DW_AT_name` attribute) is . + (`DW_AT_name`/`DW_AT_linkage_name` attribute) is . .. option:: --lookup=
diff --git a/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp b/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp index 79f05278c329d..11eb58ea911df 100644 --- a/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp +++ b/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp @@ -202,9 +202,10 @@ static alias IgnoreCaseAlias("i", desc("Alias for --ignore-case."), aliasopt(IgnoreCase), cl::NotHidden); static list Name( "name", - desc("Find and print all debug info entries whose name (DW_AT_name " - "attribute) matches the exact text in . When used with the " - "the -regex option is interpreted as a regular expression."), + desc("Find and print all debug info entries whose name " + "(DW_AT_name/DW_AT_linkage_name attribute) matches the exact text " + "in . When used with the the -regex option is " + "interpreted as a regular expression."), value_desc("pattern"), cat(DwarfDumpCategory)); static alias NameAlias("n", desc("Alias for --name"), aliasopt(Name), cl::NotHidden);