mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 07:31:28 +00:00
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
This commit is contained in:
parent
abdcb3c1b3
commit
68acf7acd2
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user