[Bug debug/115543] DWARF call_site_parameter entries are not generated for stack-passed parameters

2024-06-19 Thread spevnev16 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115543

--- Comment #3 from Sergey  ---
(In reply to Jakub Jelinek from comment #1)
> That is not a bug, DW_TAG_call_site_parameter is emitted only when it has
> something relevant to say (like, what value has been passed).  If it isn't
> known how to reconstruct the value or if the compiler is unable to track the
> value passed to it, it can omit it.

I do not see how it is any different from register-passed parameters in its
"relevance", being able to reconstruct or track it. Could you please explain?

[Bug debug/115543] DWARF call_site_parameter entries are not generated for stack-passed parameters

2024-06-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115543

Richard Biener  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |INVALID

--- Comment #2 from Richard Biener  ---
not a bug

[Bug debug/115543] DWARF call_site_parameter entries are not generated for stack-passed parameters

2024-06-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115543

Jakub Jelinek  changed:

   What|Removed |Added

 CC||jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek  ---
That is not a bug, DW_TAG_call_site_parameter is emitted only when it has
something relevant to say (like, what value has been passed).  If it isn't
known how to reconstruct the value or if the compiler is unable to track the
value passed to it, it can omit it.