[PATCH] Add line debug info for virtual thunks (PR ipa/97937)
Alexandre Oliva
oliva@adacore.com
Wed Jan 6 07:01:53 GMT 2021
On Jan 5, 2021, Richard Biener <rguenther@suse.de> wrote:
> But isn't this a consumer issue then? If there is no line info for
> a PC range then gdb shouldn't display any.
No, there *is* line info there, carried over from an earlier .loc
directive, as there isn't anything like ".noloc" to output with a
function that is not expected or supposed to have line number info.
Without that, the assembler just extends the previous .loc directive
onto the function.
--
Alexandre Oliva, happy hacker https://FSFLA.org/blogs/lxo/
Free Software Activist GNU Toolchain Engineer
Vim, Vi, Voltei pro Emacs -- GNUlius Caesar
More information about the Gcc-patches
mailing list