https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51358

--- Comment #12 from Mark Wielaard <mark at gcc dot gnu.org> ---
Having to parse line information to skip the prologue us somewhat inconvenient.
Especially since GCC doesn't actually emit DW_LNS_set_prologue_end, you have to
use some heuristic to determine whether you have reach the end of the prologue.

As an alternative it might be nice if GCC could emit a
DW_AT_GNU_entry_breakpoint that indicates where the "valid scope" of the
function starts (it could either be an address or a constant to be added to
low_pc).

Reply via email to