Apply Linux C++ global/anonymous function call workound to FreeBSD as well
The workaround was introduced in SVN r181613, for http://llvm.org/pr15854 llvm-svn: 190319
This commit is contained in:
parent
9cf069f60a
commit
fc7baa005f
|
@ -3736,8 +3736,9 @@ SymbolFileDWARF::FindFunctions (const ConstString &name,
|
|||
{
|
||||
FindFunctions (name, m_function_fullname_index, sc_list);
|
||||
|
||||
// Temporary workaround for global/anonymous namespace functions on linux
|
||||
#if defined (__linux__)
|
||||
// FIXME Temporary workaround for global/anonymous namespace
|
||||
// functions on FreeBSD and Linux
|
||||
#if defined (__FreeBSD__) || defined (__linux__)
|
||||
// If we didn't find any functions in the global namespace try
|
||||
// looking in the basename index but ignore any returned
|
||||
// functions that have a namespace (ie. mangled names starting with
|
||||
|
|
Loading…
Reference in New Issue