aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2018-05-02 22:32:23 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2018-05-02 22:32:23 +0000
commitfbf2f198ce23f6859ccad3bf8b751cfa412da235 (patch)
tree97e4f701dcc189bd60d5bae5460119270ced5522 /gcc/go
parent746d6ed4ad8118e79eefa8f0d95c0ae5a9c4b9c0 (diff)
downloadgcc-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/go')
-rw-r--r--gcc/go/gofrontend/MERGE2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index 09c1047..8de30a1 100644
--- a/gcc/go/gofrontend/MERGE
+++ b/gcc/go/gofrontend/MERGE
@@ -1,4 +1,4 @@
-24cd2e0542cc227200c3f91b9e0eefaa726cbc1c
+cef3d77a3dc0207454aabdc3ef0e8f9a0ffdf32e
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.