_gen

command standard library
go1.26.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2026 License: None detected not legal advice Imports: 0 Imported by: 0

README

// Copyright 2015 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

This command generates Go code (in the parent directory) for all
the architecture-specific opcodes, blocks, and rewrites. See the
"Hacking on SSA" section in the parent directory's README.md for
more information.

To regenerate everything, run "go generate" on the ssa package
in the parent directory.

The parent directory contains a test in generate_test.go that will fail
if the generated files are not up-to-date, and to allow that test to
run in no-network environments, golang.org/x/tools/go/ast/astutil is
vendored.

Documentation

Overview

The gen command generates Go code (in the parent directory) for all the architecture-specific opcodes, blocks, and rewrites.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL