Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion llvm/docs/CommandGuide/llvm-dwarfdump.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ OPTIONS
.. option:: -n <name>, --name=<name>

Find and print all debug info entries whose name
(`DW_AT_name` attribute) is <name>.
(`DW_AT_name`/`DW_AT_linkage_name` attribute) is <name>.

.. option:: --lookup=<address>

Expand Down
7 changes: 4 additions & 3 deletions llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,10 @@ static alias IgnoreCaseAlias("i", desc("Alias for --ignore-case."),
aliasopt(IgnoreCase), cl::NotHidden);
static list<std::string> Name(
"name",
desc("Find and print all debug info entries whose name (DW_AT_name "
"attribute) matches the exact text in <pattern>. When used with the "
"the -regex option <pattern> 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 <pattern>. When used with the the -regex option <pattern> is "
"interpreted as a regular expression."),
value_desc("pattern"), cat(DwarfDumpCategory));
static alias NameAlias("n", desc("Alias for --name"), aliasopt(Name),
cl::NotHidden);
Expand Down