diff options
author | Ian Lance Taylor <iant@golang.org> | 2021-01-04 17:40:11 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2021-01-04 17:41:16 -0800 |
commit | bf183413c6f6e745f1324e39586a65a4f9fcea3f (patch) | |
tree | 88af7c87a0e550bf34ab1942412ab28b58c26f9e /gcc/tree-inline.c | |
parent | 15af33a88065f983181550fc53821f1c6e14c5c7 (diff) | |
download | gcc-bf183413c6f6e745f1324e39586a65a4f9fcea3f.zip gcc-bf183413c6f6e745f1324e39586a65a4f9fcea3f.tar.gz gcc-bf183413c6f6e745f1324e39586a65a4f9fcea3f.tar.bz2 |
Go frontend: add -fgo-embedcfg option
This option will be used by the go command to implement go:embed directives,
which are new with the upcoming Go 1.16 release.
* lang.opt (fgo-embedcfg): New option.
* go-c.h (struct go_create_gogo_args): Add embedcfg field.
* go-lang.c (go_embedcfg): New static variable.
(go_langhook_init): Set go_create_gogo_args embedcfg field.
(go_langhook_handle_option): Handle OPT_fgo_embedcfg_.
* gccgo.texi (Invoking gccgo): Document -fgo-embedcfg.
Diffstat (limited to 'gcc/tree-inline.c')
0 files changed, 0 insertions, 0 deletions