diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-05-02 22:32:23 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-05-02 22:32:23 +0000 |
commit | fbf2f198ce23f6859ccad3bf8b751cfa412da235 (patch) | |
tree | 97e4f701dcc189bd60d5bae5460119270ced5522 /gcc/tree-complex.c | |
parent | 746d6ed4ad8118e79eefa8f0d95c0ae5a9c4b9c0 (diff) | |
download | gcc-fbf2f198ce23f6859ccad3bf8b751cfa412da235.zip gcc-fbf2f198ce23f6859ccad3bf8b751cfa412da235.tar.gz gcc-fbf2f198ce23f6859ccad3bf8b751cfa412da235.tar.bz2 |
libgo: add type/const references to sysinfo.c
This patch adds explicit references to various types and constants
defined by the header files included by sysinfo.c (used to drive the
generation of gen-sysinfo.go as part of the libgo build via the GCC
"-fdump-go-spec" option).
The intent is to enable clients to gather the same info generated by
"-fdump-go-spec" by instead reading the generated DWARF from a
sysinfo.o object file compiled with "-g". Some compilers (notably
clang) try to omit DWARF records for a given type unless there is an
explicit use of it in the translation unit; the additional references
are to insure that everything we want to see in the DWARF shows up.
Reviewed-on: https://go-review.googlesource.com/99063
From-SVN: r259868
Diffstat (limited to 'gcc/tree-complex.c')
0 files changed, 0 insertions, 0 deletions