Re: [PATCH] debug/103047 - argument order of inlined functions

2024-01-26 Thread Jakub Jelinek
On Fri, Jan 26, 2024 at 03:16:15PM +0100, Richard Biener wrote: > The inliner puts variables for parameters of the inlined functions > in the inline scope in reverse order. The following reverses them > again so that we get consistent ordering between the > DW_TAG_subprogram

[PATCH] debug/103047 - argument order of inlined functions

2024-01-26 Thread Richard Biener
The inliner puts variables for parameters of the inlined functions in the inline scope in reverse order. The following reverses them again so that we get consistent ordering between the DW_TAG_subprogram DW_TAG_formal_parameter and the DW_TAG_inlined_subroutine DW_TAG_formal_parameter set. I