Re: [Dwarf-discuss] Request for clarification of handling stack-passed parameters

2024-06-18 Thread Sergey via Dwarf-discuss
ay, June 14, 2024 1:12 PM > To: dwarf-discuss@lists.dwarfstd.org; Robinson, Paul > Subject: RE: [Dwarf-discuss] Request for clarification of handling > stack-passed parameters > > In that case I shall create appropriate issues for the mentioned compilers in > order to discuss the ma

Re: [Dwarf-discuss] Request for clarification of handling stack-passed parameters

2024-06-14 Thread Robinson, Paul via Dwarf-discuss
Jakub probably does. The spec does not clearly say that parameter entries can be omitted, though. --paulr From: Sergey Sent: Friday, June 14, 2024 1:12 PM To: dwarf-discuss@lists.dwarfstd.org; Robinson, Paul Subject: RE: [Dwarf-discuss] Request for clarification of handling stack-passed

Re: [Dwarf-discuss] Request for clarification of handling stack-passed parameters

2024-06-14 Thread Sergey via Dwarf-discuss
In that case I shall create appropriate issues for the mentioned compilers in order to discuss the matter with them. I think I have found another issue with clang. In some cases it does not generate middle parameters: namely, it skipped the 2nd one yet included the 3rd one. It believe it does n

Re: [Dwarf-discuss] Request for clarification of handling stack-passed parameters

2024-06-14 Thread Robinson, Paul via Dwarf-discuss
I believe this is an issue with the implementations, although it is a bit odd that both gcc and clang behave the same way. There should be a DW_TAG_call_site_parameter for each parameter. DW_AT_location should describe the stack slot where the parameter is passed. It should not be a problem for