-
- Downloads
compiler: export indexed type data, read unexported types lazily
Introduce a new "types" command to the export data to record the number of types and the size of their export data. It is immediately followed by new "type" commands that can be indexed. Parse all the exported types immediately so that we register them, but parse other type data only as needed. Reviewed-on: https://go-review.googlesource.com/c/143022 From-SVN: r265409
Showing
- gcc/go/gofrontend/MERGE 1 addition, 1 deletiongcc/go/gofrontend/MERGE
- gcc/go/gofrontend/export.cc 229 additions, 104 deletionsgcc/go/gofrontend/export.cc
- gcc/go/gofrontend/export.h 37 additions, 7 deletionsgcc/go/gofrontend/export.h
- gcc/go/gofrontend/gogo.cc 2 additions, 2 deletionsgcc/go/gofrontend/gogo.cc
- gcc/go/gofrontend/gogo.h 0 additions, 2 deletionsgcc/go/gofrontend/gogo.h
- gcc/go/gofrontend/import.cc 220 additions, 17 deletionsgcc/go/gofrontend/import.cc
- gcc/go/gofrontend/import.h 60 additions, 0 deletionsgcc/go/gofrontend/import.h
- gcc/go/gofrontend/types.cc 6 additions, 15 deletionsgcc/go/gofrontend/types.cc
- gcc/go/gofrontend/types.h 0 additions, 4 deletionsgcc/go/gofrontend/types.h
- libgo/go/go/internal/gccgoimporter/parser.go 78 additions, 3 deletionslibgo/go/go/internal/gccgoimporter/parser.go
Loading
Please register or sign in to comment