[PATCH] Fix crash in DWARF indexer

Tom Tromey tromey@adacore.com
Tue Jan 7 14:45:06 GMT 2025


>>>>> "Tom" == Tom Tromey <tromey@adacore.com> writes:

Tom> Iain pointed out a crash in the DWARF indexer when run on a certain D
Tom> program.  The DWARF in this case has a nameless enum class; this
Tom> causes an assertion failure.

Tom> This patch arranges to simply ignore such types.  The fact that an
Tom> enum class is nameless in this case appears to be a compiler bug.

Tom> Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32518

I'm also going to merge this one to gdb 16.
It may be a regression; and in any case the fix is very simple.

Tom


More information about the Gdb-patches mailing list