This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/24724] _Unwind_Backtrace() calls malloc
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Nov 2005 01:23:49 -0000
- Subject: [Bug other/24724] _Unwind_Backtrace() calls malloc
- References: <bug-24724-11484@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from pinskia at gcc dot gnu dot org 2005-11-08 01:23 -------
(In reply to comment #7)
> The particular malloc in question is coming from start_fde_sort() in
> unwind-dw2-fde.c. Perhaps the sorting can be done earlier i.e. before
> _Unwind_Backtrace() is called?
If you do that, the start up time is high and every time you load a shared
library it stalls and you keep around stuff which you don't need at all.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24724