diff options
author | Greg Clayton <gclayton@apple.com> | 2013-04-23 21:48:38 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2013-04-23 21:48:38 +0000 |
commit | da1eb040a11da0567f262cfb8c3b5d157ab350bf (patch) | |
tree | 1014ab829f724f13398bb61c1a3914753214b2a2 /lldb/source/Expression/IRForTarget.cpp | |
parent | 41c9f1150cda6b6602e42e6cbafdbfc1ce7df0a6 (diff) | |
download | bcm5719-llvm-da1eb040a11da0567f262cfb8c3b5d157ab350bf.tar.gz bcm5719-llvm-da1eb040a11da0567f262cfb8c3b5d157ab350bf.zip |
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.
llvm-svn: 180151
Diffstat (limited to 'lldb/source/Expression/IRForTarget.cpp')
-rw-r--r-- | lldb/source/Expression/IRForTarget.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Expression/IRForTarget.cpp b/lldb/source/Expression/IRForTarget.cpp index 1c1f120b86c..e9101d6f74a 100644 --- a/lldb/source/Expression/IRForTarget.cpp +++ b/lldb/source/Expression/IRForTarget.cpp @@ -281,6 +281,10 @@ IRForTarget::GetFunctionAddress (llvm::Function *fun, 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()); |