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

2024-06-12 Thread Sergey via Dwarf-discuss
# Request for clarification of handling stack-passed parameters ## Background I came across this while parsing parameters of a variadic function in C. Formal parameters are not sufficient for my case, since all the variadic arguments are described with a single `DW_TAG_unspecified_parameters`,

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

2024-06-14 Thread Sergey via Dwarf-discuss
would be evaluated in the > context of the caller. > --paulr > > From: Dwarf-discuss > On Behalf > Of Sergey via Dwarf-discuss > Sent: Wednesday, June 12, 2024 9:57 AM > To: dwarf-discuss@lists.dwarfstd.org > Subject: [Dwarf-discuss] Request for clarification of handling stack-

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

2024-06-18 Thread Sergey via Dwarf-discuss
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 the compiler to do that, the location description would be > > evaluated in the