15.08.2012, 19:25, "Villmow, Micah" <Micah.Villmow at amd.com>:> Three reasons. > 1) I need to modify the code to support extensions to the standard demangler. > 2) GCC's version is GPL v3.And? BTW, there is BSD-licensed implementation of __cxa_demangle in libcxxrt> 3) Need windows support. > > Micah-- Regards, Konstantin
> -----Original Message----- > From: Konstantin Tokarev [mailto:annulen at yandex.ru] > Sent: Wednesday, August 15, 2012 9:10 AM > To: Villmow, Micah > Cc: Chris Lattner; Dmitry Vyukov; LLVM Developers Mailing List > Subject: Re: [LLVMdev] C++ demangling in LLVM > > > > 15.08.2012, 19:25, "Villmow, Micah" <Micah.Villmow at amd.com>: > > Three reasons. > > 1) I need to modify the code to support extensions to the standard > demangler. > > 2) GCC's version is GPL v3. > > And?[Villmow, Micah] No GPL code allowed because of its viral nature.> > BTW, there is BSD-licensed implementation of __cxa_demangle in > libcxxrt[Villmow, Micah] Thanks, I didn't know about this one! I currently am using the one from here: http://libcxxabi.llvm.org/> > > 3) Need windows support. > > > > Micah > > -- > Regards, > Konstantin
15.08.2012, 20:15, "Villmow, Micah" <Micah.Villmow at amd.com>:>> -----Original Message----- >> From: Konstantin Tokarev [mailto:annulen at yandex.ru] >> Sent: Wednesday, August 15, 2012 9:10 AM >> To: Villmow, Micah >> Cc: Chris Lattner; Dmitry Vyukov; LLVM Developers Mailing List >> Subject: Re: [LLVMdev] C++ demangling in LLVM >> >> 15.08.2012, 19:25, "Villmow, Micah" <Micah.Villmow at amd.com>: >>> Three reasons. >>> 1) I need to modify the code to support extensions to the standard >> demangler. >>> 2) GCC's version is GPL v3. >> And? > > [Villmow, Micah] No GPL code allowed because of its viral nature.Well, if you just call it from your code you are not affected by this aspect of GPL. To implement your extensions you can create wrapper function. -- Regards, Konstantin