[Lldb-commits] [lldb] r248466 - Improve error reporting for failing to find argdumper.
Bruce Mitchener via lldb-commits
lldb-commits at lists.llvm.org
Thu Sep 24 00:08:29 PDT 2015
Author: brucem
Date: Thu Sep 24 02:08:29 2015
New Revision: 248466
URL: http://llvm.org/viewvc/llvm-project?rev=248466&view=rev
Log:
Improve error reporting for failing to find argdumper.
Reviewers: tfiala, granata.enrico, clayborg
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D13125
Modified:
lldb/trunk/source/Host/macosx/Host.mm
Modified: lldb/trunk/source/Host/macosx/Host.mm
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/macosx/Host.mm?rev=248466&r1=248465&r2=248466&view=diff
==============================================================================
--- lldb/trunk/source/Host/macosx/Host.mm (original)
+++ lldb/trunk/source/Host/macosx/Host.mm Thu Sep 24 02:08:29 2015
@@ -1345,13 +1345,13 @@ Host::ShellExpandArguments (ProcessLaunc
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;
}
More information about the lldb-commits
mailing list