Re: [PATCH] libstdc++: Deliver names of C functions in

2023-01-14 Thread Jonathan Wakely via Gcc-patches
On Tue, 13 Dec 2022 at 21:03, Björn Schäpers wrote: > > From: Björn Schäpers > > One could add (), these are not part of __name. One could also try to > check upfront if __cxa_demangle should be called at all. Thanks for the patch, I'll push this. I think we do want to check whether to call __

[PATCH] libstdc++: Deliver names of C functions in

2022-12-13 Thread Björn Schäpers
From: Björn Schäpers One could add (), these are not part of __name. One could also try to check upfront if __cxa_demangle should be called at all. -- >8 -- Tested on i686-w64-mingw32. __cxa_demangle is only to demangle C++ names, for all C functions, extern "C" functions, and including main i

[PATCH] libstdc++: Deliver names of C functions in

2022-12-12 Thread Björn Schäpers
From: Björn Schäpers One could add (), these are not part of __name. One could also try to check upfront if __cxa_demangle should be called at all. -- >8 -- Tested on i686-w64-mingw32. __cxa_demangle is only to demangle C++ names, for all C functions, extern "C" functions, and including main i

[PATCH] libstdc++: Deliver names of C functions in

2022-12-12 Thread Björn Schäpers
From: Björn Schäpers One could add (), these are not part of __name. One could also try to check upfront if __cxa_demangle should be called at all. -- >8 -- Tested on i686-w64-mingw32. __cxa_demangle is only to demangle C++ names, for all C functions, extern "C" functions, and including main i