]> git.ipfire.org Git - thirdparty/gcc.git/commit
DWARF address space for variables
authorAndrew Stubbs <ams@codesourcery.com>
Fri, 15 Jan 2021 11:26:46 +0000 (11:26 +0000)
committerAndrew Stubbs <ams@codesourcery.com>
Fri, 15 Jan 2021 11:27:04 +0000 (11:27 +0000)
commit5dac172b8016998123a4302041361e6f4aed6731
treeced235a1101239f18631796f969056e7219613ff
parente34336d100d137386a6a4dafeee3029610c6f5a0
DWARF address space for variables

Add DWARF address class attributes for variables that exist outside the
generic address space.  In particular, this is the case for gang-private
variables in OpenACC offload kernels.

gcc/ChangeLog:

* dwarf2out.c (add_location_or_const_value_attribute): Set
DW_AT_address_class, if appropriate.
gcc/dwarf2out.c