[Lldb-commits] [PATCH] D13125: Improve error reporting for failing to find argdumper.
Bruce Mitchener via lldb-commits
lldb-commits at lists.llvm.org
Thu Sep 24 00:00:31 PDT 2015
brucem created this revision.
brucem added reviewers: tfiala, granata.enrico, clayborg.
brucem added a subscriber: lldb-commits.
http://reviews.llvm.org/D13125
Files:
source/Host/macosx/Host.mm
Index: source/Host/macosx/Host.mm
===================================================================
--- source/Host/macosx/Host.mm
+++ source/Host/macosx/Host.mm
@@ -1345,13 +1345,13 @@
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;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13125.35590.patch
Type: text/x-patch
Size: 871 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150924/763fd0d2/attachment.bin>
More information about the lldb-commits
mailing list