[Bug debug/108905] Debugging information refers to the wrong file with function defined in toplevel inline-asm
lveyde at redhat dot com
gcc-bugzilla@gcc.gnu.org
Thu Feb 23 23:49:14 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108905
--- Comment #2 from Lev Veyde <lveyde at redhat dot com> ---
So the incorrect filename and line comes from not setting it properly in inline
assembly the macro resolves to?
So it's basically an issue in the Linux kernel source code?
I tried to add .line to the inline assembly code and it didn't really had any
effect on the compiled kernel, as far as debugging info for the symbol is
concerned. However I'm not 100% certain that I did it correctly.
More information about the Gcc-bugs
mailing list