This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [patch] Eliminate quadratic slow-down on number of soilibs (part 2).


>>>>> "Paul" == Paul Pluzhnikov <ppluzhnikov@google.com> writes:

Paul> But isn't a better fix to just obstack_alloc the data instead of
Paul> xmalloc()ing it? Proposed patch attached. Tested on Linux/x86_64, no
Paul> regressions.

Yeah.  I was not completely sure about the rules regarding use of the
objfile obstack.  But, I think this should be safe.  This is ok.

Tom


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