From 68acf7acd28fc09fce13c956461337e9a7e3a1ac Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Thu, 24 Sep 2015 07:08:29 +0000 Subject: [PATCH] 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 --- lldb/source/Host/macosx/Host.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lldb/source/Host/macosx/Host.mm b/lldb/source/Host/macosx/Host.mm index a21ac09272cd..0cb8adde8a55 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; }