[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 197900] Support suppressions with demangled names
From:       Julian Seward <jseward () acm ! org>
Date:       2009-06-25 23:47:54
Message-ID: 20090625234754.48AF116F84 () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=197900


Julian Seward <jseward@acm.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jseward@acm.org




--- Comment #3 from Julian Seward <jseward acm org>  2009-06-26 01:47:53 ---

> Re the demangling, I think suppressions use mangled names due to performance
> concerns.

Well, that, and due to simplicity of implementation.

> Because function names are stored internally in mangled form, this
> avoids any need to demangle when matching.

The performance thing is probably getroundable without much effort, if
we build a cache of mangled->demangled name pairs.

> But this seems like a weak excuse,
> as function names in suppressions could be mangled upon startup.  Julian, do
> you know if there are any other reasons?

There is the problem that although we have a nice self-contained library
to do demangling, we don't have one that does enmangling.  I guess that
is deep in the innards of gcc somewhere.  So I don't even know that we
could (easily) mangle names, should we want to do that.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic