go/names.cc
bool
Gogo::is_special_name(const std::string& name)
{
  return (name.find("..hash") != std::string::npos
	  || name.find("..eq") != std::string::npos
	  || name.find("..stub") != std::string::npos
	  || name.find("..func") != std::string::npos
	  || name.find("..r") != std::string::npos
	  || name.find("..init") != std::string::npos
	  || name.find("..thunk") != std::string::npos
	  || name.find("..import") != std::string::npos);
}
// Return whether NAME is a special name that can not be passed to
// unpack_hidden_name.  This is needed because various special names
// use "..SUFFIX", but unpack_hidden_name just looks for '.'.
Return whether NAME is a special name that can not be passed to
unpack_hidden_name.  This is needed because various special names
use "..SUFFIX", but unpack_hidden_name just looks for '.'.
Return whether NAME is a special name that can not be passed to unpack_hidden_name . This is needed because various special names use " .. SUFFIX " but unpack_hidden_name just looks for ' . ' .
bool
Gogo::is_special_name(const std::string& name)
{
  return (name.find("..hash") != std::string::npos
	  || name.find("..eq") != std::string::npos
	  || name.find("..stub") != std::string::npos
	  || name.find("..func") != std::string::npos
	  || name.find("..r") != std::string::npos
	  || name.find("..init") != std::string::npos
	  || name.find("..thunk") != std::string::npos
	  || name.find("..import") != std::string::npos);
}
bool Gogo :: is_special_name ( const std :: string & name ) { return ( name . find ( " " ) != std :: string :: npos || name . find ( " " ) != std :: string :: npos || name . find ( " " ) != std :: string :: npos || name . find ( " " ) != std :: string :: npos || name . find ( " " ) != std :: string :: npos || name . find ( " " ) != std :: string :: npos || name . find ( " " ) != std :: string :: npos || name . find ( " " ) != std :: string :: npos ) ; }
Return whether NAME is a special name that can not be passed to
unpack_hidden_name.
Return whether NAME is a special name that can not be passed to unpack_hidden_name .