Skip to content

Commit

Permalink
Improve error reporting for failing to find argdumper.
Browse files Browse the repository at this point in the history
Reviewers: tfiala, granata.enrico, clayborg

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D13125

llvm-svn: 248466
  • Loading branch information
waywardmonkeys committed Sep 24, 2015
1 parent abdcb3c commit 68acf7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lldb/source/Host/macosx/Host.mm
Expand Up @@ -1345,13 +1345,13 @@ repeat with the_window in (get windows)\n\
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;
}

Expand Down

0 comments on commit 68acf7a

Please sign in to comment.