Three reasons.
1) I need to modify the code to support extensions to the standard demangler.
2) GCC's version is GPL v3.
3) Need windows support.
Micah
> -----Original Message-----
> From: Chris Lattner [mailto:clattner at apple.com]
> Sent: Tuesday, August 14, 2012 8:38 PM
> To: Villmow, Micah
> Cc: Michael Spencer; Dmitry Vyukov; LLVM Developers Mailing List
> Subject: Re: [LLVMdev] C++ demangling in LLVM
>
>
> On Aug 14, 2012, at 3:11 PM, "Villmow, Micah" <Micah.Villmow
at amd.com>
> wrote:
>
> > Was there any resolution about if bringing this into the LLVM Support
> directory should be done or not? I have a need of being able to use
> this, not just for demangling, but also to verify correctness of a
> mangled function, and can only rely on LLVM core.
>
> Micah,
>
> Why can't you just call the standard __cxa_demangle function?
>
> -Chris
>