aboutsummaryrefslogtreecommitdiff
path: root/lldb/source
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2024-07-15 21:11:40 -0700
committerGitHub <noreply@github.com>2024-07-15 21:11:40 -0700
commitb3e1f1b13249868bef6a7c0895bcf2953eeabe44 (patch)
treef5d42ce0825f57acbdfbdbe837406798a18191ff /lldb/source
parent4497ec293a6e745be817dc88027169bd5e4f7246 (diff)
downloadllvm-b3e1f1b13249868bef6a7c0895bcf2953eeabe44.zip
llvm-b3e1f1b13249868bef6a7c0895bcf2953eeabe44.tar.gz
llvm-b3e1f1b13249868bef6a7c0895bcf2953eeabe44.tar.bz2
[lldb] Fix help syntax for add-dsym (target symbols add) (#98976)
The help output incorrectly states that this command takes a shared library name (<shlib-name>) while really it takes a path to a symbol file. rdar://131777043
Diffstat (limited to 'lldb/source')
-rw-r--r--lldb/source/Commands/CommandObjectTarget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectTarget.cpp b/lldb/source/Commands/CommandObjectTarget.cpp
index 80181a9..d594330 100644
--- a/lldb/source/Commands/CommandObjectTarget.cpp
+++ b/lldb/source/Commands/CommandObjectTarget.cpp
@@ -4252,7 +4252,7 @@ public:
m_option_group.Append(&m_current_stack_option, LLDB_OPT_SET_2,
LLDB_OPT_SET_2);
m_option_group.Finalize();
- AddSimpleArgumentList(eArgTypeShlibName);
+ AddSimpleArgumentList(eArgTypeFilename);
}
~CommandObjectTargetSymbolsAdd() override = default;