Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cxx-abi-dev] A mangling ambiguity


  • To: Gabriel Dos Reis <Gabriel.Dos-Reis@xxxxxxxxxxxxxxxxxx>
  • Subject: Re: [cxx-abi-dev] A mangling ambiguity
  • From: Nathan Sidwell <nathan@xxxxxxxxxxxxxxxx>
  • Date: Wed, 04 Dec 2002 16:16:02 +0000

Gaby
Hmm, maybe I'm being dense but how is the latter really different from
the former?  If the names ot two entities end up being being mangled
the same, then there will be an ambiguity in demangling them.  No?

Conversely, if demangling a mangled named shows an ambiguity then that
means we can't determine the original entity name.  No?

The mangling must be a perfect hash function. Ideally it should be invertable
too. This might be a case of non-invertability, which we could live with.
If it is also a case of imperfectness, then we must fix it. Hope that helps.

nathan
--
Dr Nathan Sidwell   ::   http://www.codesourcery.com   ::   CodeSourcery LLC
         'But that's a lie.' - 'Yes it is. What's your point?'
nathan@xxxxxxxxxxxxxxxx : http://www.cs.bris.ac.uk/~nathan/ : nathan@xxxxxxx