This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: More demangler patches, with fixes for gcc/13244 and gcc/13304


>>>>> "DJ" == DJ Delorie <dj@redhat.com> writes:

>> Tom Tromey indicated that there might be some use for the new
>> demangler somewhere in the Java libraries, where they need a demangler
>> which doesn't call libstdc++ routines.

DJ> We'd probably need to be able to hook the allocators too, in case
DJ> java needs to do its own malloc/free stuff.

We would like an integrated demangler so we can pretty-print stack
traces without invoking c++filt (which is what we do now).

Allocation isn't a big issue, libgcj already requires malloc/free (in
addition to the GC).

Thread-safety is important, but I'd assume the demangler won't have
problems here.

License is a potential issue, libgcj has a libgcc-like license.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]