...

Package gc

import "cmd/compile/internal/gc"
Overview
Index

Overview ▾

func Main

func Main(archInit func(*ssagen.ArchInfo))

Main parses flags and Go source files specified in the command-line arguments, type-checks the parsed Go package, compiles functions to machine code, and finally writes the compiled package definition to disk.