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
This commit is contained in:
parent
41c9f1150c
commit
da1eb040a1
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue