[Lldb-commits] [lldb] r180151 - Be sure to print out the fully mangled name when we are unable to find a function to call so we can easily look for this symbol if needed.
Greg Clayton
gclayton at apple.com
Tue Apr 23 14:48:38 PDT 2013
Author: gclayton
Date: Tue Apr 23 16:48:38 2013
New Revision: 180151
URL: http://llvm.org/viewvc/llvm-project?rev=180151&view=rev
Log:
Be sure to print out the fully mangled name when we are unable to find a function to call so we can easily look for this symbol if needed.
Modified:
lldb/trunk/source/Expression/IRForTarget.cpp
Modified: lldb/trunk/source/Expression/IRForTarget.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/IRForTarget.cpp?rev=180151&r1=180150&r2=180151&view=diff
==============================================================================
--- lldb/trunk/source/Expression/IRForTarget.cpp (original)
+++ lldb/trunk/source/Expression/IRForTarget.cpp Tue Apr 23 16:48:38 2013
@@ -281,6 +281,10 @@ IRForTarget::GetFunctionAddress (llvm::F
m_error_stream->Printf("error: call to a function '%s' (alternate name '%s') that is not present in the target\n",
mangled_name.GetName().GetCString(),
alt_mangled_name.GetName().GetCString());
+ else if (mangled_name.GetMangledName())
+ m_error_stream->Printf("error: call to a function '%s' ('%s') that is not present in the target\n",
+ mangled_name.GetName().GetCString(),
+ mangled_name.GetMangledName().GetCString());
else
m_error_stream->Printf("error: call to a function '%s' that is not present in the target\n",
mangled_name.GetName().GetCString());
More information about the lldb-commits
mailing list