I forgot to state what changed in the v2. Now, following the DECL_ORIGIN
is done in lhd_print_error_function instead of lhd_decl_printable_name
because lhd_decl_printable_name was used in other circumstances, like
dumping RTL. This caused test failures.
- [PATCH v2] diagnostics: Follow DECL_ORIGIN in lhd_print_err... Peter Damianov
- Re: [PATCH v2] diagnostics: Follow DECL_ORIGIN in lhd_... Peter0x44