Add hook for modifying debug info for address spaces
authorRichard Henderson <rth@redhat.com>
Mon, 9 Nov 2015 09:19:19 +0000 (01:19 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 9 Nov 2015 09:19:19 +0000 (01:19 -0800)
commitf736b911e6fb32807028ef1624fd73dfca33d699
tree3998331b05016b3ed00e47dcd1382849d5f9a05f
parent6626f97034083631b76c3db092f4bf1156d9d078
Add hook for modifying debug info for address spaces

        * dwarf2out.c (modified_type_die): Pass the address space number
        through TARGET_ADDR_SPACE_DEBUG to produce the dwarf address class.
        * target.def (TARGET_ADDR_SPACE_DEBUG): New.
        * targhooks.c (default_addr_space_debug): New.
        * targhooks.h (default_addr_space_debug): Declare.
        * doc/tm.texi.in (TARGET_ADDR_SPACE_DEBUG): Mark it.
        * doc/tm.texi: Rebuild.

From-SVN: r230000
gcc/ChangeLog
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/dwarf2out.c
gcc/target.def
gcc/targhooks.c
gcc/targhooks.h