[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:14:19 PDT 2015
This revision was automatically updated to reflect the committed changes.
Closed by commit rL248466: Improve error reporting for failing to find argdumper. (authored by brucem).
Changed prior to commit:
http://reviews.llvm.org/D13125?vs=35590&id=35591#toc
Repository:
rL LLVM
http://reviews.llvm.org/D13125
Files:
lldb/trunk/source/Host/macosx/Host.mm
Index: lldb/trunk/source/Host/macosx/Host.mm
===================================================================
--- lldb/trunk/source/Host/macosx/Host.mm
+++ lldb/trunk/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.35591.patch
Type: text/x-patch
Size: 904 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150924/d53632b9/attachment-0001.bin>
More information about the lldb-commits
mailing list