compiler: centralize all symbol name handling
commit192723212940c4755b1d6338cedda43546b70500
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Oct 2017 17:20:30 +0000 (5 17:20 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Oct 2017 17:20:30 +0000 (5 17:20 +0000)
tree97cc7dbe9cd1f0eea5636c8d326c1e4e0badb327
parentc8cf6ab0c436eaf2a2a970c297fab5596c6ca314
compiler: centralize all symbol name handling

    Consolidate all symbol name handling into the new file names.cc.  This
    is intended to define all the names that will appear in the generated
    assembly code.  Names that will not appear in the assembly code, such
    as local variable names or label names, remain where they are.

    This consolidation is not intended to change any of the existing
    symbol names.  Tested by building without and without this patch and
    comparing the libgo symbol table.

    Reviewed-on: https://go-review.googlesource.com/68310

* Make-lang.in (GO_OBJS): Add go/names.o.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@253458 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/ChangeLog
gcc/go/Make-lang.in
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/escape.cc
gcc/go/gofrontend/expressions.cc
gcc/go/gofrontend/gogo.cc
gcc/go/gofrontend/gogo.h
gcc/go/gofrontend/names.cc [new file with mode: 0644]
gcc/go/gofrontend/types.cc
gcc/go/gofrontend/types.h