cmd/

directory standard library
go1.27.1 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2026 License: BSD-3-Clause

Directories

Path Synopsis
Addr2line is a minimal simulation of the GNU addr2line tool, just enough to support pprof.
Addr2line is a minimal simulation of the GNU addr2line tool, just enough to support pprof.
asm
Asm, typically invoked as “go tool asm”, assembles the source file into an object file named for the basename of the argument source file with a .o suffix.
Asm, typically invoked as “go tool asm”, assembles the source file into an object file named for the basename of the argument source file with a .o suffix.
internal/arch
Package arch defines architecture-specific information and support functions.
Package arch defines architecture-specific information and support functions.
internal/asm
Package asm implements the parser and instruction generator for the assembler.
Package asm implements the parser and instruction generator for the assembler.
internal/flags
Package flags implements top-level flags and the usage message for the assembler.
Package flags implements top-level flags and the usage message for the assembler.
internal/lex
Package lex implements lexical analysis for the assembler.
Package lex implements lexical analysis for the assembler.
Buildid displays or updates the build ID stored in a Go package or binary.
Buildid displays or updates the build ID stored in a Go package or binary.
cgo
Cgo enables the creation of Go packages that call C code.
Cgo enables the creation of Go packages that call C code.
internal/test
Test that pthread_cancel works as expected (NPTL uses SIGRTMIN to implement thread cancellation) See https://golang.org/issue/6997
Test that pthread_cancel works as expected (NPTL uses SIGRTMIN to implement thread cancellation) See https://golang.org/issue/6997
Compile, typically invoked as “go tool compile,” compiles a single Go package comprising the files named on the command line.
Compile, typically invoked as “go tool compile,” compiles a single Go package comprising the files named on the command line.
internal/compare
Package compare contains code for generating comparison routines for structs, strings and interfaces.
Package compare contains code for generating comparison routines for structs, strings and interfaces.
internal/deadlocals
The deadlocals pass removes assignments to unused local variables.
The deadlocals pass removes assignments to unused local variables.
internal/devirtualize
Package devirtualize implements two "devirtualization" optimization passes:
Package devirtualize implements two "devirtualization" optimization passes:
internal/importer
package importer implements package reading for gc-generated object files.
package importer implements package reading for gc-generated object files.
internal/inline/interleaved
Package interleaved implements the interleaved devirtualization and inlining pass.
Package interleaved implements the interleaved devirtualization and inlining pass.