[cfe-dev] [libc++abi] Why is cxa_demangle.h a public header?

Matthew Dempsky matthew at dempsky.org
Sat Jun 8 15:28:23 PDT 2013


On Sat, Jun 8, 2013 at 8:02 AM, Howard Hinnant <hhinnant at apple.com> wrote:
> Because when I was first asked to write the demangler I was also asked to have it create a syntax tree and expose that syntax tree for use by the compiler and/or debugger.
>
> That design hasn't worked out.  I'm currently working on an alternative.  A tool for the compiler and/or debugger could still be done, but it makes more sense to have that be a separate tool, as opposed to bundling it into the demangler.

Makes sense.  Thanks for the explanation!

> I'm hoping to get rid of this shortly.

Do you have a timeline for this or any notes about your new plans?  Is
it still worth sending patches against the current code?



More information about the cfe-dev mailing list