diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2015-09-24 07:08:29 +0000 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2015-09-24 07:08:29 +0000 |
commit | 68acf7acd28fc09fce13c956461337e9a7e3a1ac (patch) | |
tree | bebb1d8f3e194b51294f8d05ef0f9422284ab1de | |
parent | abdcb3c1b3772caa3fc311f72ed83e51438e9889 (diff) | |
download | bcm5719-llvm-68acf7acd28fc09fce13c956461337e9a7e3a1ac.tar.gz bcm5719-llvm-68acf7acd28fc09fce13c956461337e9a7e3a1ac.zip |
Improve error reporting for failing to find argdumper.
Reviewers: tfiala, granata.enrico, clayborg
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D13125
llvm-svn: 248466
-rw-r--r-- | lldb/source/Host/macosx/Host.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Host/macosx/Host.mm b/lldb/source/Host/macosx/Host.mm index a21ac09272c..0cb8adde8a5 100644 --- a/lldb/source/Host/macosx/Host.mm +++ b/lldb/source/Host/macosx/Host.mm @@ -1345,13 +1345,13 @@ Host::ShellExpandArguments (ProcessLaunchInfo &launch_info) FileSpec expand_tool_spec; if (!HostInfo::GetLLDBPath(lldb::ePathTypeSupportExecutableDir, expand_tool_spec)) { - error.SetErrorString("could not find argdumper tool"); + error.SetErrorString("could not get support executable directory for argdumper tool"); return error; } expand_tool_spec.AppendPathComponent("argdumper"); if (!expand_tool_spec.Exists()) { - error.SetErrorString("could not find argdumper tool"); + error.SetErrorStringWithFormat("could not find argdumper tool: %s", expand_tool_spec.GetPath().c_str()); return error; } |