]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix offload dwarf info
authorAndrew Stubbs <ams@codesourcery.com>
Sun, 6 Dec 2020 19:23:55 +0000 (19:23 +0000)
committerAndrew Stubbs <ams@codesourcery.com>
Fri, 15 Jan 2021 11:27:02 +0000 (11:27 +0000)
commitfdcb23540a2ed663bfca7e81164692aa0661b6d3
tree89ce5caf93ee2d9ec3574cf8325ac6c85b1fac3c
parentb50819e4f630c74fddc7a99748051d2baaeb6396
Fix offload dwarf info

Add a notional code range to the notional parent function of offload kernel
functions.  This is enough to prevent GDB discarding them.

gcc/ChangeLog:

* dwarf2out.c (gen_subprogram_die): Add high/low_pc attributes for
parents of offload kernels.
gcc/dwarf2out.c