[PATCH 3/5] [gdb/symtab] Work around fsanitize=address false positive for per_cu->lang

Tom Tromey tom@tromey.com
Mon Jul 4 18:32:03 GMT 2022


>>>>> "Tom" == Tom de Vries <tdevries@suse.de> writes:

Tom>  /* The number of bits needed to represent all languages, with enough
Tom>     padding to allow for reasonable growth.  */
Tom> -#define LANGUAGE_BITS 5
Tom> +#define LANGUAGE_BITS 8

This will negatively affect the size of symbols and so I think it should
be avoided.

Tom


More information about the Gdb-patches mailing list