https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108996
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2023-03-03
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
CC| |aoliva at gcc dot gnu.org,
| |jakub at gcc dot gnu.org
Severity|normal |enhancement
Version|unknown |13.0
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
It might be possible to run a reduced dataflow var-tracking at -O0 for this
kind of things (the target could provide a set of interesting entry/exit
parameters/registers to track). For other targets the biggest issue is when
debugging the prologue code.
I'm not sure how easy it would be to run var-tracking for a subset of
insns/regs and how to then make use of such partial information when
outputting DWARF.
Alex/Jakub might have some ideas.