commit | 3a39a31b8ae9c6465434aefa657f7fcc86f905c0 | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Sun Jun 25 20:16:01 2023 -0700 |
committer | Ian Lance Taylor <iant@golang.org> | Mon Jun 26 09:56:29 2023 -0700 |
tree | 886212591b1c9d127eaaf234a4a2e22452ea384a | |
parent | 79d8fbbcbf09dfcb6ca18b129fd7841e0eeb0ef5 [diff] |
compiler: support -fgo-importcfg * lang.opt (fgo-importcfg): New option. * go-c.h (struct go_create_gogo_args): Add importcfg field. * go-lang.cc (go_importcfg): New static variable. (go_langhook_init): Set args.importcfg. (go_langhook_handle_option): Handle -fgo-importcfg. * gccgo.texi (Invoking gccgo): Document -fgo-importcfg. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/506095