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 0/2] Demangler crash handler


On 05/15/2014 02:25 PM, Gary Benson wrote:
> It's not clear to me what benefit a second system for early
> termination would add, or how you would decide which system
> to use for any given error.

Just to cross this off for the record.  The idea would be to use
early termination for bad input, and d_assert for asserting
internal consistency is sane.  Much like in GDB we don't use
gdb_assert for bad input.

But better coverage/testing beats this by a wide margin,
in my book.

Speaking of coverage, I wonder what gcov says...

-- 
Pedro Alves


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