llgo

module
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: Apache-2.0

README

LLGo - A Go compiler based on LLVM

Build Status GitHub release Coverage Status LLGo bindings Benchmark GoDoc XGo

LLGo is a Go compiler based on LLVM in order to better integrate Go with the C ecosystem, including Python and JavaScript. It's a subproject of the XGo project.

LLGo aims to expand the boundaries of Go/XGo, providing limitless possibilities such as:

  • Game development
  • AI and data science
  • WebAssembly
  • Embedded development
  • ...

How can these be achieved?

LLGo := Go * C ecosystem

LLGo is compatible with the C ecosystem through the C Application Binary Interface (ABI), while LLGo is compatible with Go at the source-code level. The C ecosystem includes languages that expose C-compatible interfaces (e.g. C/C++, Python, JavaScript, Objective-C, and Swift).

Go support

LLGo is compatible with Go 1.20+ source code and supports the complete Go 1.27 language syntax, as well as cgo.

See compatibility coverage for validation details and recorded differences from the standard Go compiler.

Runtime

LLGo uses a different runtime from the standard Go toolchain. Native goroutines map 1:1 to OS threads with fixed native stacks, so direct C calls require no Go-to-C stack or scheduler transition, avoiding the cgo overhead that makes frequent C calls costly in standard Go.

The default garbage collector is conservative BDWGC (also known as libgc). Bare-metal embedded targets instead use a TinyGo-derived conservative mark-and-sweep collector.

Garbage collection can be disabled with the nogc build tag. For example:

llgo run -tags nogc .
Standard libraries

LLGo fully supports the Go standard library on supported native platforms. See standard-library compatibility for coverage details.

Other targets may not provide every OS service or implementation-specific runtime behavior.

Target Current coverage
Native Linux amd64/arm64, macOS amd64/arm64, and Windows 386/amd64/arm64 (MSVC and MinGW) release builds
WebAssembly js/wasm and wasip1/wasm builds; WASI and Emscripten profiles
Embedded -target configurations for supported boards and MCUs, with QEMU/emulator support for selected targets

The supported WebAssembly profiles combine a memory ABI with a host ABI. -target emscripten emits a Memory32 ES module and its sibling wasm module, -target emscripten-memory64 emits the corresponding Memory64 pair, and -target wasi emits a Memory32 WASI Preview 1 module. Raw GOOS=js GOARCH=wasm and GOOS=wasip1 GOARCH=wasm select the Go-compatible JavaScript and WASI host contracts. See the WebAssembly proposal for the compatibility contract and acceptance plan.

WebAssembly goroutine stacks have fixed sizes. For deeply recursive workloads, set -goroutine-stack-size=2MB when building (the existing -pthread-stack-size flag remains an alias). This sets both the goroutine stack and its Asyncify buffer; it does not change the main goroutine's stack. JavaScript-hosted builds check stack bounds and abort on overflow instead of corrupting linear memory. These checks remain enabled in optimized builds: checking each stack-pointer update adds code and execution overhead, but a return-time cookie check alone cannot prevent a goroutine from overwriting adjacent memory.

C/C++ support

LLGo lets you import and call C/C++ libraries directly, without wrappers or cgo overhead.

Interop mechanism

LLGo uses go:linkname to bind a Go declaration directly to a C ABI symbol:

import _ "unsafe" // for go:linkname

//go:linkname Sqrt C.sqrt
func Sqrt(x float64) float64

You can use this directly in your own code:

package main

import _ "unsafe" // for go:linkname

//go:linkname Sqrt C.sqrt
func Sqrt(x float64) float64

func main() {
	println("sqrt(2) =", Sqrt(2))
}

Or organize such bindings into a package, as c/math does:

package main

import "github.com/goplus/lib/c/math"

func main() {
	println("sqrt(2) =", math.Sqrt(2))
}

Because calls into C compile to native calls against the C ABI, there is no Go-to-C stack or scheduler transition, so frequent C calls stay cheap.

Promoted C variadic methods

Forwarding an incoming C ellipsis through a promoted-method wrapper, including an interface call, is currently supported only on hosted native targets without an explicit -target profile. The underlying C method must have a pointer receiver. The wrapper and callee must have matching fixed LLVM prototypes and calling conventions, with no result conversion. Fixed parameters must be scalars, with zero or one scalar result: booleans, integers, floating-point values, and pointers qualify.

Value receivers, aggregate fixed parameters or results, multiple results, Wasm, and explicit -target profiles (including custom native profiles) remain outside this support. Selecting an unsupported forwarding wrapper through an interface conversion, method expression, or bound method produces a compiler error naming the method, target, and reason forwarding is unsupported. Call the C-linked method or function directly with explicit C-compatible arguments when forwarding is unavailable. Unused synthetic wrappers do not prevent those direct calls.

Windows API

On Windows, bind APIs declared with WINAPI or __stdcall through the stdcall. namespace. The convention is distinct on 386; Windows amd64 and arm64 use their unified native C ABI. An explicitly decorated 386 name such as _MessageBoxW@16 is also accepted and is normalized to MessageBoxW on 64-bit targets.

//go:linkname MessageBoxW stdcall.MessageBoxW
func MessageBoxW(hwnd uintptr, text, caption *uint16, flags uint32) int32

//llgo:stdcall
type Callback func(context uintptr) uintptr

stdcall. declarations and //llgo:stdcall apply only to non-variadic function types. A native callback is one function pointer, so a Go callback must be a direct function reference; pass state through an explicit context pointer rather than a capturing closure.

//llgo:cdecl and //llgo:stdcall function values can be passed directly to syscall.NewCallback, syscall.NewCallbackCDecl, and runtime.SetFinalizer. On Windows, the type's convention governs calls into the function; independently, NewCallback creates a stdcall entry and NewCallbackCDecl creates a cdecl entry.

Calling-convention directives

A function type that models a C or Windows callback carries a calling-convention directive so the generated function pointer matches the native ABI:

  • //llgo:cdecl selects the C calling convention.
  • //llgo:stdcall selects the Windows stdcall convention (distinct only on 386; Windows amd64 and arm64 use their unified native C ABI).
import (
	"unsafe"

	"github.com/goplus/lib/c"
)

//llgo:cdecl
type Handler func(data unsafe.Pointer) c.Int

//llgo:stdcall
type WinProc func(hwnd uintptr, msg uint32, wParam, lParam uintptr) uintptr

The older //llgo:type C and //llgo:type stdcall spellings remain supported for backward compatibility but are deprecated: the compiler accepts them and prints a warning naming the replacement (//llgo:type C → //llgo:cdecl, //llgo:type stdcall → //llgo:stdcall). Prefer the new directives in new code. A type may carry only one calling-convention directive; combining them (for example //llgo:cdecl together with //llgo:stdcall or //llgo:type stdcall) is reported as an error.

Host-layout structs

Use a leading blank structs.HostLayout field for a struct exchanged with native code. LLGo recognizes the marker from type information, including aliases, defined marker types, and generic instantiations.

import "structs"

//llgo:cdecl
type Callback func(int32) int32

type Record struct {
    _        structs.HostLayout
    Callback Callback
    Data     *byte
}

The marker selects native field layout, not a calling convention. A plain Go func field still carries its closure environment; use an explicitly annotated function type for a native callback. Nested struct fields keep their own layout, and containing structs do not inherit the marker. Ordinary Go fields retain their storage representation, including when their address is passed to another function. On profiled wasm32 targets, Go pointers and uintptr still occupy eight bytes; explicitly annotated callback fields also retain their existing Go storage width. HostLayout does not change callback reflection or conversion semantics. Host records requiring four-byte address slots must use explicit fixed-width storage and convert at the interface boundary. A nonempty marked struct ending in a zero-sized field retains Go's protective trailing padding.

The older struct-level //llgo:cdecl and //llgo:type C declarations remain accepted for compatibility. A struct that still carries a legacy type directive keeps its legacy source-layout behavior, including when a HostLayout marker is added directly or through a field. Remove the struct directive when adopting HostLayout. When migrating, give any native callback fields explicit callback types rather than relying on the outer struct's directive. If Go and native pointer widths differ, use target-specific address/size slots and boundary accessors, retaining Go references for any addresses the host saves. The marker is a real zero-sized field: reflection field indices and positional struct literals must be adjusted when adding it. The runtime uses an internal compatibility marker on Go 1.20–1.22 and an alias to the standard structs.HostLayout on Go 1.23 and later.

C/C++ standard libraries

LLGo provides Go bindings for the C/C++ standard library:

Package Description
c C standard library core
c/syscall System calls
c/sys System headers
c/os OS interfaces
c/math Math functions
c/math/cmplx Complex math
c/math/rand Random number generation
c/pthread POSIX threads
c/pthread/sync Thread synchronization
c/sync/atomic Atomic operations
c/time Time functions
c/net Networking
cpp/std C++ standard library core

Here is a simple example calling the C printf function:

package main

import "github.com/goplus/lib/c"

func main() {
	c.Printf(c.Str("Hello world\n"))
}

c.Str is not a runtime conversion from a Go string to a C string — it is a built-in instruction that llgo recognizes and compiles directly into a C string constant.

Additional demos are available in the _demo directory (prefixed with _ so the go command skips them):

  • hello: call C printf and fprintf with Go and C strings
  • qsort: call a C function that takes a callback (e.g. qsort)

To run a demo (see How to install if llgo isn't installed yet):

cd <demo-directory>  # e.g. cd _demo/c/hello
llgo run .
Other frequently used libraries

Beyond the standard library, LLGo can import libraries from across the C/C++ ecosystem. Bindings are currently maintained by hand; automating this process, as is already done for Python library imports, is planned for the future.

Available bindings include:

Examples built on these bindings:

  • llama2-c: inference Llama 2 (the first LLGo AI example)
  • mkjson: create a JSON object and print it
  • sqlitedemo: a basic SQLite demo
  • tetris: a Tetris game based on raylib

Python support

You can import a Python library in LLGo!

You can import Python libraries into llgo through llpyg. Available bindings include:

Third-party libraries such as pandas and PyTorch must be installed separately.

Here is an example:

package main

import (
	"github.com/goplus/lib/py"
	"github.com/goplus/lib/py/math"
	"github.com/goplus/lib/py/std"
)

func main() {
	x := math.Sqrt(py.Float(2))       // x = sqrt(2)
	std.Print(py.Str("sqrt(2) ="), x) // print("sqrt(2) =", x)
}

It is equivalent to the following Python code:

import math

x = math.sqrt(2)
print("sqrt =", x)

Here, We call py.Float(2) to create a Python number 2, and pass it to Python’s math.sqrt to get x. Then we call std.Print to print the result.

Let's look at a slightly more complex example. For example, we use numpy to calculate:

package main

import (
	"github.com/goplus/lib/py"
	"github.com/goplus/lib/py/numpy"
	"github.com/goplus/lib/py/std"
)

func main() {
	a := py.List(
		py.List(1.0, 2.0, 3.0),
		py.List(4.0, 5.0, 6.0),
		py.List(7.0, 8.0, 9.0),
	)
	b := py.List(
		py.List(9.0, 8.0, 7.0),
		py.List(6.0, 5.0, 4.0),
		py.List(3.0, 2.0, 1.0),
	)
	x := numpy.Add(a, b)
	std.Print(py.Str("a+b ="), x)
}

Here we define two 3x3 matrices a and b, add them to get x, and then print the result.

The _demo/py/ directory contains some python related demos:

  • basic: call Python math, statistics, variadic builtin, iterator, and print APIs
  • scientific: convert nested lists through NumPy and PyTorch

To run these demos (If you haven't installed llgo yet, please refer to How to install):

cd <demo-directory>  # eg. cd _demo/py/basic
llgo run .

How to install

Quick install

macOS and Linux:

curl -fsSL https://raw.githubusercontent.com/xgo-dev/llgo/main/install.sh | bash

Windows (PowerShell):

irm https://raw.githubusercontent.com/xgo-dev/llgo/main/install.ps1 | iex

Open a new terminal after installation, then verify:

llgo version
Manual installation
Homebrew (macOS)
brew install llgo
WinGet (Windows)

Until XGo.LLGo is published, use the legacy package below. See WinGet migration when the unified package becomes available.

winget install XGo.LLGo.MSVC
APT / YUM (Linux)

For Debian/Ubuntu without LLVM 22 packages, first enable the matching apt.llvm.org repository. RPM installation requires Fedora 44 or newer. These repository entries use HTTPS and disable package signature checks (trusted=yes / gpgcheck=0).

Debian/Ubuntu:

echo 'deb [trusted=yes] https://pkgs.xgo.dev/apt/ /' | sudo tee /etc/apt/sources.list.d/goplus.list
sudo apt-get update
sudo apt-get install -y llgo

Fedora/RPM:

sudo tee /etc/yum.repos.d/goplus.repo <<'EOF'
[goplus]
name=XGo
baseurl=https://pkgs.xgo.dev/yum/
enabled=1
gpgcheck=0
EOF
sudo yum install -y llgo

For source builds and mise/Pixi, see CONTRIBUTING.md.

Go environment

Use llgo env GOOS GOARCH to query Go environment values and llgo env LLGO_ROOT LLGO_RUNTIME_DIR LLGO_LLVM_VERSION to inspect the LLGo installation and selected LLVM toolchain. With no variable names it prints both sets. -json provides machine-readable output, and -target name adds the resolved LLGO_TARGET_* fields for an embedded target without downloading tools or building libraries. For LLGO_* fields, -changed includes only values explicitly set in the process environment and omits derived values; Go fields retain the underlying go env -changed behavior. Paths for optional packaged tools are empty when the payload is not installed.

Go-only queries are delegated to the underlying Go toolchain and respect its environment and configuration. The -w and -u flags update the same GOENV configuration as go env; LLGo fields are read-only.

A real Go executable must remain in an absolute PATH directory. If go is a symlink or hard link to llgo, the environment command skips that link and searches the remaining PATH entries instead of invoking itself recursively.

Module management

Use llgo mod init, llgo mod tidy, llgo mod vendor, and other go mod subcommands to manage modules with the underlying Go toolchain. Arguments, working directory, environment, standard streams, and exit status are preserved. As with llgo env, a real Go executable must remain in an absolute PATH directory; links from go back to LLGo are skipped to prevent recursion.

Module maintenance does not inject LLGo-specific build tags. Go's tidy and vendor already consider all build tags except ignore, including dependencies imported only by files with //go:build llgo.

Package and project commands

llgo list provides a Go-compatible package query backed by the real Go toolchain while adding LLGo's source-selection build tags to package queries. Module queries keep caller-supplied and explicit target tags but do not add LLGo's defaults. It supports the list queries used by golang.org/x/tools/go/packages, including list -f '{{context.GOARCH}} {{context.Compiler}}' -- unsafe; the reported gc context identifies Go frontend and type-size compatibility, not LLGo's LLVM backend. Use -target name to apply a resolved LLGo target's GOOS, GOARCH, and build tags without installing its toolchain. When go/packages requests -export=true, paths in the Export field refer to Go frontend type data in Go's build cache, not LLGo package archives.

llgo get, llgo fix, llgo generate, and llgo vet use the Go toolchain with LLGo's build tags and accept -target to select the target GOOS, GOARCH, and tags. llgo fmt and llgo work forward arguments unchanged; go fmt already includes files excluded by build constraints.

build, clean, install, run, test, version, and tool compile remain LLGo-specific. The Go bug, doc, and telemetry commands are not exposed: the first and last operate Go services, while go doc cannot select LLGo-only sources because it has no build-tag option.

Contributing

See CONTRIBUTING.md for development environments, source builds, repository structure, testing, and the pull-request workflow.

Directories

Path Synopsis
_cmptest
base64demo command
bigintdemo command
bigsqrt2 command
chan command
chandemo command
chansel command
crcdemo command
csvdemo command
ctxcancel command
defer command
envexpand command
errors command
exit command
filestat command
flagdemo command
fmtdemo command
goconstdemo command
goparsedemo command
goscandemo command
hmacdemo command
interf command
iodemo command
ioutildemo command
jsondemo command
mathbigdemo command
md5demo command
osdemo command
osexec command
osproc command
pipedemo command
printfdemo command
readfiledemo command
reflect command
regexdemo command
rtype command
sha1demo command
sha256demo command
sha512demo command
sortdemo command
strconv command
syscall command
timedemo command
timeout command
urldemo command
_demo
py module
benchmark
baseline command
crossinline/value
Package value supplies small cross-package calls for the inline benchmarks.
Package value supplies small cross-package calls for the inline benchmarks.
escape/borrow command
escape/boxing command
escape/coverage command
Allocation probes shared by LLGo and cmd/compile.
Allocation probes shared by LLGo and cmd/compile.
escape/defer command
escape/mapkeys command
wasm command
chore
ardump command
check_std_symbols command
Package main implements check_std_symbols, a tool that verifies test coverage for all exported symbols in Go standard library packages.
Package main implements check_std_symbols, a tool that verifies test coverage for all exported symbols in Go standard library packages.
dylibdeps command
gentests command
litgen command
llgen command
llvmtargets command
metadump command
nmdump command
nmindex command
pclnpost command
Command pclnpost rewrites a linked LLGo binary's funcinfo entry section with the link-phase prebuilt ftab/findfunctab (see doc/design/pclntab-linkphase.md and internal/pclnpost).
Command pclnpost rewrites a linked LLGo binary's funcinfo entry section with the link-phase prebuilt ftab/findfunctab (see doc/design/pclntab-linkphase.md and internal/pclnpost).
ssadump command
ssadump: a tool for displaying and interpreting the SSA form of Go programs.
ssadump: a tool for displaying and interpreting the SSA form of Go programs.
cl
_testdata/cpkg
LITTEST
LITTEST
_testdata/cpkgimp command
LITTEST
LITTEST
_testdata/debug command
LITTEST
LITTEST
LITTEST
_testdata/floatint command
LITTEST: POST-ABI darwin/arm64 linux/amd64 linux/arm64 windows/amd64 Scope: arch (arm64/amd64 float-to-integer ABI)
LITTEST: POST-ABI darwin/arm64 linux/amd64 linux/arm64 windows/amd64 Scope: arch (arm64/amd64 float-to-integer ABI)
_testdata/foo
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\QBar\E|\QF\E|\QFoo.Pb\E|\Q(*Foo).Pb\E) --check-globals=smart
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\QBar\E|\QF\E|\QFoo.Pb\E|\Q(*Foo).Pb\E) --check-globals=smart
_testdata/geometry1370
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\QNewRectangle\E|\Q(*Rectangle).Area\E|\Q(*Rectangle).GetID\E|\Q(*Rectangle).setID\E|\Q(*Rectangle).validate\E|\QRegisterShape\E) --check-globals=smart
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\QNewRectangle\E|\Q(*Rectangle).Area\E|\Q(*Rectangle).GetID\E|\Q(*Rectangle).setID\E|\Q(*Rectangle).validate\E|\QRegisterShape\E) --check-globals=smart
_testdata/importpkg command
LITTEST
LITTEST
_testdata/llgointrinsics
LITTEST darwin/arm64 linux/amd64 Scope: arch (arm64/amd64 function-value ABI; intrinsic lowering otherwise common)
LITTEST darwin/arm64 linux/amd64 Scope: arch (arm64/amd64 function-value ABI; intrinsic lowering otherwise common)
_testdata/llgosyscall
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\QUse\E|\QUse5F64\E|\QUse6\E|\QUse6X\E|\QUsePtr\E|\QUseRaw\E|\QUseRaw6\E) --check-globals=smart
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\QUse\E|\QUse5F64\E|\QUse6\E|\QUse6X\E|\QUsePtr\E|\QUseRaw\E|\QUseRaw6\E) --check-globals=smart
_testdata/vargs command
LITTEST Scope: common
LITTEST Scope: common
_testdrop/c_export_callback command
LITTEST
LITTEST
_testdrop/direct_func command
LITTEST
LITTEST
_testdrop/direct_method command
LITTEST
LITTEST
LITTEST
LITTEST
LITTEST
LITTEST
LITTEST
_testdrop/interface_match command
LITTEST
LITTEST
_testdrop/interface_slot command
LITTEST
LITTEST
LITTEST
LITTEST
LITTEST
LITTEST
LITTEST
_testdrop/source64_crosspkg command
LITTEST
LITTEST
LITTEST
_testgo/abimethod command
LITTEST
LITTEST
_testgo/alias command
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.(*Point).Move\E|\Qmain.(*Point).Scale\E|\Qmain.main\E) --check-globals=smart
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.(*Point).Move\E|\Qmain.(*Point).Scale\E|\Qmain.main\E) --check-globals=smart
_testgo/arith-divrem command
LITTEST Scope: common
LITTEST Scope: common
_testgo/blankfield command
LITTEST
LITTEST
_testgo/cgobasic command
LITTEST Scope: common
LITTEST Scope: common
_testgo/cgocfiles command
LITTEST Scope: os (host CGo errno and aggregate ABI)
LITTEST Scope: os (host CGo errno and aggregate ABI)
_testgo/cgodefer command
LITTEST Scope: arch (arm64/amd64 closure/defer calling convention)
LITTEST Scope: arch (arm64/amd64 closure/defer calling convention)
_testgo/chan command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
_testgo/closureall command
LITTEST darwin/arm64 linux/amd64 windows/arm64 windows/amd64 Scope: arch (arm64, amd64)
LITTEST darwin/arm64 linux/amd64 windows/arm64 windows/amd64 Scope: arch (arm64, amd64)
_testgo/closureenv command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
_testgo/complitassign command
LITTEST Scope: common
LITTEST Scope: common
_testgo/cursor command
LITTEST darwin/arm64 linux/amd64 windows/arm64 windows/amd64 Scope: common
LITTEST darwin/arm64 linux/amd64 windows/arm64 windows/amd64 Scope: common
_testgo/defer1 command
LITTEST Scope: common
LITTEST Scope: common
_testgo/defer3 command
LITTEST
LITTEST
_testgo/defer4 command
LITTEST Scope: common
LITTEST Scope: common
_testgo/defer5 command
LITTEST darwin/arm64 linux/amd64 windows/arm64 windows/amd64
LITTEST darwin/arm64 linux/amd64 windows/arm64 windows/amd64
_testgo/deferclosure command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
_testgo/defercomplex command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
_testgo/deferiface command
LITTEST
LITTEST
_testgo/deferpanicterm command
LITTEST
LITTEST
_testgo/embedunexport-1598 command
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.Wrapped.Name\E|\Qmain.Wrapped.github.com/xgo-dev/llgo/cl/_testdata/embedunexport.setName\E|\Qmain.(*Wrapped).Name\E|\Qmain.(*Wrapped).github.com/xgo-dev/llgo/cl/_testdata/embedunexport.setName\E) --check-globals=smart
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.Wrapped.Name\E|\Qmain.Wrapped.github.com/xgo-dev/llgo/cl/_testdata/embedunexport.setName\E|\Qmain.(*Wrapped).Name\E|\Qmain.(*Wrapped).github.com/xgo-dev/llgo/cl/_testdata/embedunexport.setName\E) --check-globals=smart
_testgo/equal command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
_testgo/genericembediface command
LITTEST
LITTEST
_testgo/genericiter command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
_testgo/goroutine command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
_testgo/ifaceconv command
LITTEST
LITTEST
_testgo/ifaceprom command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
_testgo/indexerr command
LITTEST Scope: common
LITTEST Scope: common
_testgo/interface1370 command
LITTEST
LITTEST
_testgo/invoke command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
_testgo/loop command
LITTEST Scope: common
LITTEST Scope: common
_testgo/makeslice command
LITTEST
LITTEST
_testgo/mapfast command
LITTEST
LITTEST
_testgo/mapindirect command
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.main\E|\Qmain.lookup[main.LargeKey]\E) --check-globals=smart
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.main\E|\Qmain.lookup[main.LargeKey]\E) --check-globals=smart
_testgo/multiret command
LITTEST darwin/arm64 linux/amd64 Scope: arch (arm64/amd64 closure-call ABI; aggregate results otherwise common)
LITTEST darwin/arm64 linux/amd64 Scope: arch (arm64/amd64 closure-call ABI; aggregate results otherwise common)
_testgo/postabi command
LITTEST: POST-ABI darwin/arm64 linux/amd64 wasip1/wasm CHECK: target triple = " DARWIN-ARM64-SAME: {{.*}}-apple-{{.*}}" LINUX-AMD64-SAME: {{.*}}-linux{{.*}}" WASIP1-WASM-SAME: wasm32-unknown-wasip1"
LITTEST: POST-ABI darwin/arm64 linux/amd64 wasip1/wasm CHECK: target triple = " DARWIN-ARM64-SAME: {{.*}}-apple-{{.*}}" LINUX-AMD64-SAME: {{.*}}-linux{{.*}}" WASIP1-WASM-SAME: wasm32-unknown-wasip1"
_testgo/print command
LITTEST
LITTEST
_testgo/reflect command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
_testgo/reflectconv command
LITTEST Scope: common
LITTEST Scope: common
_testgo/reflectmk command
LITTEST
LITTEST
_testgo/reflectmkfn command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
_testgo/returnorder command
LITTEST
LITTEST
_testgo/rewrite command
LITTEST
LITTEST
_testgo/runextest command
LITTEST
LITTEST
_testgo/runtest command
LITTEST
LITTEST
_testgo/select command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
_testgo/staticmapslice command
LITTEST
LITTEST
_testgo/strucintf command
LITTEST
LITTEST
_testgo/struczero command
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.Bar\E|\Qmain.Foo\E|\Qmain.main\E) --check-globals=smart
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.Bar\E|\Qmain.Foo\E|\Qmain.main\E) --check-globals=smart
_testgo/tpindex command
LITTEST
LITTEST
_testgo/tpinst command
LITTEST
LITTEST
_testgo/tplocalclosureiface command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
_testgo/tplocaltype command
LITTEST
LITTEST
_testgo/tpnamed command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
_testgo/tprecur command
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.main\E|\Qmain.recursive\E|\Qmain.recur1[main.T.1.0]\E|\Qmain.recur2[main.T.1.0]\E) --check-globals=smart
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.main\E|\Qmain.recursive\E|\Qmain.recur1[main.T.1.0]\E|\Qmain.recur2[main.T.1.0]\E) --check-globals=smart
_testgo/tptypes command
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain\E|\Q(*Slice[[]int,int]).Append\E|\Q(*Slice[[]string,string]).Append\E|\Q(*Slice[[]int,int]).Append2\E) --check-globals=smart
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain\E|\Q(*Slice[[]int,int]).Append\E|\Q(*Slice[[]string,string]).Append\E|\Q(*Slice[[]int,int]).Append2\E) --check-globals=smart
_testgo/typerecur command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
_testlibc/argv command
LITTEST Scope: common
LITTEST Scope: common
_testlibc/atomic command
LITTEST Scope: common
LITTEST Scope: common
_testlibc/callbackmethod command
LITTEST Scope: common
LITTEST Scope: common
_testlibc/complex command
LITTEST Scope: common
LITTEST Scope: common
_testlibc/cppabi command
LITTEST Scope: common
LITTEST Scope: common
_testlibc/defer command
LITTEST Scope: common
LITTEST Scope: common
_testlibc/once command
LITTEST Scope: os (Darwin/Linux pthread_once ABI)
LITTEST Scope: os (Darwin/Linux pthread_once ABI)
_testlibc/setjmp command
LITTEST darwin/arm64 linux/amd64 windows/386 windows/amd64 windows/arm64 Scope: os+arch (setjmp symbols, buffer layout, and dispatch ABI)
LITTEST darwin/arm64 linux/amd64 windows/386 windows/amd64 windows/arm64 Scope: os+arch (setjmp symbols, buffer layout, and dispatch ABI)
_testlibc/umuloverflow command
LITTEST Scope: common
LITTEST Scope: common
_testlto/anonymous_alias command
LITTEST
LITTEST
_testlto/globaldce_interface_matrix command
LITTEST Scope: common
LITTEST Scope: common
LITTEST
LITTEST
LITTEST Scope: common
LITTEST Scope: common
LITTEST Scope: common
LITTEST Scope: common
LITTEST
LITTEST
LITTEST
LITTEST
LITTEST
LITTEST
LITTEST
LITTEST
LITTEST
_testpy/callpy command
LITTEST Scope: os+arch (Python C long width; call forms otherwise common)
LITTEST Scope: os+arch (Python C long width; call forms otherwise common)
_testpy/list command
LITTEST Scope: common
LITTEST Scope: common
_testpy/math
LITTEST Scope: common
LITTEST Scope: common
_testrt/abinamed command
LITTEST Scope: common
LITTEST Scope: common
_testrt/allocstr command
LITTEST Scope: common
LITTEST Scope: common
_testrt/asmfull command
LITTEST darwin/arm64 linux/amd64 windows/386 windows/amd64 windows/arm64
LITTEST darwin/arm64 linux/amd64 windows/386 windows/amd64 windows/arm64
_testrt/builtin command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
_testrt/cast command
LITTEST
LITTEST
_testrt/clear
LITTEST
LITTEST
_testrt/closurebound command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
_testrt/closureconv command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
_testrt/closureiface command
LITTEST darwin/arm64 darwin/amd64 linux/arm64 linux/amd64 windows/arm64 windows/amd64 NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.main\E|\Qmain.main$1\E) --check-globals=smart
LITTEST darwin/arm64 darwin/amd64 linux/arm64 linux/amd64 windows/arm64 windows/amd64 NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.main\E|\Qmain.main$1\E) --check-globals=smart
_testrt/complex command
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.main\E) --check-globals=smart
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.main\E) --check-globals=smart
_testrt/concat command
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.concat\E|\Qmain.info\E|\Qmain.main\E) --check-globals=smart
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.concat\E|\Qmain.info\E|\Qmain.main\E) --check-globals=smart
_testrt/constiface command
LITTEST Scope: common
LITTEST Scope: common
_testrt/cvar command
LITTEST darwin/arm64 linux/amd64 windows/386 windows/amd64 windows/arm64 Scope: common (native global storage, including function-pointer fields)
LITTEST darwin/arm64 linux/amd64 windows/386 windows/amd64 windows/arm64 Scope: common (native global storage, including function-pointer fields)
_testrt/eface command
LITTEST darwin/amd64 darwin/arm64 linux/386 linux/amd64 linux/arm64 windows/386 windows/amd64 windows/arm64
LITTEST darwin/amd64 darwin/arm64 linux/386 linux/amd64 linux/arm64 windows/386 windows/amd64 windows/arm64
_testrt/float2any command
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.check32\E|\Qmain.check64\E|\Qmain.f32\E|\Qmain.f64\E|\Qmain.main\E) --check-globals=smart
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.check32\E|\Qmain.check64\E|\Qmain.f32\E|\Qmain.f64\E|\Qmain.main\E) --check-globals=smart
_testrt/freevars command
LITTEST darwin/arm64 darwin/amd64 linux/amd64 linux/arm64 windows/amd64 windows/arm64 NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.main\E|\Qmain.main$1\E|\Qmain.main$1$1\E|\Qmain.main$2\E) --check-globals=smart
LITTEST darwin/arm64 darwin/amd64 linux/amd64 linux/arm64 windows/amd64 windows/arm64 NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.main\E|\Qmain.main$1\E|\Qmain.main$1$1\E|\Qmain.main$2\E) --check-globals=smart
_testrt/funcdecl command
LITTEST
LITTEST
_testrt/gblarray command
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.Basic\E|\Qmain.basicType\E|\Qmain.init\E|\Qmain.main\E) --check-globals=smart Scope: common
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.Basic\E|\Qmain.basicType\E|\Qmain.init\E|\Qmain.main\E) --check-globals=smart Scope: common
_testrt/hostlayout command
LITTEST Scope: common
LITTEST Scope: common
_testrt/index command
LITTEST
LITTEST
_testrt/len command
LITTEST
LITTEST
_testrt/linkname command
LITTEST Scope: common
LITTEST Scope: common
_testrt/makemap command
LITTEST Scope: common
LITTEST Scope: common
_testrt/mapclosure command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
_testrt/maplit command
LITTEST Scope: common
LITTEST Scope: common
_testrt/maplitsafety command
LITTEST Scope: common CHECK: define {{.*}} @main.publication(
LITTEST Scope: common CHECK: define {{.*}} @main.publication(
_testrt/mask command
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.mask\E|\Qmain.mask_shl\E|\Qmain.mask_shl8\E|\Qmain.mask_shl8u\E|\Qmain.mask_shr\E|\Qmain.mask_shr8\E|\Qmain.mask_shr8u\E) --check-globals=smart
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.mask\E|\Qmain.mask_shl\E|\Qmain.mask_shl8\E|\Qmain.mask_shl8u\E|\Qmain.mask_shr\E|\Qmain.mask_shr8\E|\Qmain.mask_shr8u\E) --check-globals=smart
_testrt/methodthunk command
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.main\E|\Qmain.(*outer).M$thunk\E|\Qmain.(*InnerInt).M$thunk\E) --check-globals=smart
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.main\E|\Qmain.(*outer).M$thunk\E|\Qmain.(*InnerInt).M$thunk\E) --check-globals=smart
_testrt/named command
LITTEST darwin/arm64 linux/amd64 Scope: arch (arm64, amd64)
LITTEST darwin/arm64 linux/amd64 Scope: arch (arm64, amd64)
_testrt/ptrtothislazy command
LITTEST Scope: common
LITTEST Scope: common
_testrt/qsortfn command
LITTEST Scope: common
LITTEST Scope: common
_testrt/reflectclosureenv command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
_testrt/slice2array command
LITTEST
LITTEST
_testrt/stacksave command
LITTEST
LITTEST
_testrt/staticifacebox command
LITTEST Scope: common
LITTEST Scope: common
_testrt/staticitab command
LITTEST Scope: common
LITTEST Scope: common
_testrt/struct command
LITTEST
LITTEST
_testrt/tpabi command
LITTEST Scope: common
LITTEST Scope: common
_testrt/tpfunc command
LITTEST
LITTEST
_testrt/tpmap command
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.main\E) --check-globals=smart
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.main\E) --check-globals=smart
_testrt/tpmethod command
LITTEST darwin/arm64 darwin/amd64 linux/amd64 linux/arm64 windows/amd64 windows/arm64 NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.ReadFile\E|\Qmain.ReadFile$1\E|\Qmain.main\E|\Qmain.main$1\E|\Qmain.Async[main.Tuple[error]]\E|\Qmain.Tuple[error].Get\E|\Qmain.(*future[main.Tuple[error]]).Then\E|\Qmain.(*Tuple[error]).Get\E) --check-globals=smart
LITTEST darwin/arm64 darwin/amd64 linux/amd64 linux/arm64 windows/amd64 windows/arm64 NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.ReadFile\E|\Qmain.ReadFile$1\E|\Qmain.main\E|\Qmain.main$1\E|\Qmain.Async[main.Tuple[error]]\E|\Qmain.Tuple[error].Get\E|\Qmain.(*future[main.Tuple[error]]).Then\E|\Qmain.(*Tuple[error]).Get\E) --check-globals=smart
_testrt/tpunsafe command
LITTEST Scope: common
LITTEST Scope: common
_testrt/typalias command
LITTEST
LITTEST
_testrt/typed command
LITTEST darwin/amd64 darwin/arm64 linux/386 linux/amd64 linux/arm64 windows/386 windows/amd64 windows/arm64 Scope: common
LITTEST darwin/amd64 darwin/arm64 linux/386 linux/amd64 linux/arm64 windows/386 windows/amd64 windows/arm64 Scope: common
_testrt/unsafe command
LITTEST Scope: common
LITTEST Scope: common
_testrt/vamethod command
LITTEST Scope: common
LITTEST Scope: common
_testsimd/dispatch command
LITTEST linux/amd64 windows/amd64 darwin/arm64 wasip1/wasm Scope: common
LITTEST linux/amd64 windows/amd64 darwin/arm64 wasip1/wasm Scope: common
cmd
internal/base
Package base defines shared basic pieces of the llgo command, in particular logging and the Command structure.
Package base defines shared basic pieces of the llgo command, in particular logging and the Command structure.
internal/browser
Package browser launches LLGo WebAssembly debug sessions in Chromium.
Package browser launches LLGo WebAssembly debug sessions in Chromium.
internal/bug
Package bug prepares reports for the LLGo issue tracker.
Package bug prepares reports for the LLGo issue tracker.
internal/build
Package build implements the "llgo build" command.
Package build implements the "llgo build" command.
internal/clean
Package clean implements the "llgo clean" command.
Package clean implements the "llgo clean" command.
internal/compat
Package compat records LLGo's public command contract.
Package compat records LLGo's public command contract.
internal/debug
Package debug implements the cross-platform "llgo debug" command.
Package debug implements the cross-platform "llgo debug" command.
internal/env
Package env implements the "llgo env" command.
Package env implements the "llgo env" command.
internal/gdb
Package gdb launches GDB with LLGo runtime presentation support.
Package gdb launches GDB with LLGo runtime presentation support.
internal/get
Package get implements the "llgo get" command.
Package get implements the "llgo get" command.
internal/gocommand
Package gocommand implements LLGo commands delegated to the Go toolchain.
Package gocommand implements LLGo commands delegated to the Go toolchain.
internal/gotool
Package gotool locates the Go toolchain used by LLGo compatibility commands.
Package gotool locates the Go toolchain used by LLGo compatibility commands.
internal/help
Package help implements the “llgo help” command.
Package help implements the “llgo help” command.
internal/install
Package install implements the "llgo install" command.
Package install implements the "llgo install" command.
internal/list
Package list implements the "llgo list" command.
Package list implements the "llgo list" command.
internal/lldb
Package lldb implements the "llgo lldb" command.
Package lldb implements the "llgo lldb" command.
internal/mod
Package mod implements the "llgo mod" command.
Package mod implements the "llgo mod" command.
internal/run
Package run implements the "llgo run" command.
Package run implements the "llgo run" command.
internal/version
Package version implements the "llgo version" command.
Package version implements the "llgo version" command.
internal/wasidebug
Package wasidebug adapts LLDB's native Wasm JIT frames to the common Wasm runtime decoder.
Package wasidebug adapts LLDB's native Wasm JIT frames to the common Wasm runtime decoder.
internal/wasmdecoder
Package wasmdecoder supplies shared Wasm runtime value and stack decoders to debugger transports.
Package wasmdecoder supplies shared Wasm runtime value and stack decoders to debugger transports.
llgo command
dev
_devenv_smoke command
runtimeaudit command
runtimeaudit emits the runtime source ownership report for an application toolchain and target.
runtimeaudit emits the runtime source ownership report for an application toolchain and target.
stdreport command
wasmstdlib command
Command wasmstdlib runs a bounded standard-library acceptance slice and records the rest of the source inventory as unvalidated, never as passing.
Command wasmstdlib runs a bounded standard-library acceptance slice and records the rest of the source inventory as unvalidated, never as passing.
doc
_readme module
internal
abi
Package abi contains target-independent lowering for LLGo's internal ABI.
Package abi contains target-independent lowering for LLGo's internal ABI.
abi/abitest
Package abitest shares IR regression checks between ABI lowering passes.
Package abitest shares IR regression checks between ABI lowering passes.
browserdebug
Package browserdebug converts standards-based WebAssembly DWARF into the compact query index used by LLGo's Chrome Language Extension.
Package browserdebug converts standards-based WebAssembly DWARF into the compact query index used by LLGo's Chrome Language Extension.
callerlocation
Package callerlocation avoids redundant compiler-generated location records.
Package callerlocation avoids redundant compiler-generated location records.
crc16
Package crc16 implements the 16-bit cyclic redundancy check, or CRC-16, checksum.
Package crc16 implements the 16-bit cyclic redundancy check, or CRC-16, checksum.
dcepass
Package dcepass rewrites ABI metadata so link-time dead code elimination can drop method bodies that are no longer referenced by live method slots.
Package dcepass rewrites ABI metadata so link-time dead code elimination can drop method bodies that are no longer referenced by live method slots.
debugabi
Package debugabi defines the debugger-independent LLGo runtime contract.
Package debugabi defines the debugger-independent LLGo runtime contract.
debuginfo
Package debuginfo owns the LLVM debug metadata builder and its lifecycle.
Package debuginfo owns the LLVM debug metadata builder and its lifecycle.
directive
Package directive parses Go and LLGo source directives without assigning feature-specific semantics to them.
Package directive parses Go and LLGo source directives without assigning feature-specific semantics to them.
dwarfcompress
Package dwarfcompress writes GNU-style zlib DWARF sections in native debugger artifacts.
Package dwarfcompress writes GNU-style zlib DWARF sections in native debugger artifacts.
env
frontcache
Package frontcache describes the frontend information needed from an already compiled dependency, independently of its instruction bodies.
Package frontcache describes the frontend information needed from an already compiled dependency, independently of its instruction bodies.
gcrootplan
Package gcrootplan computes the Go SSA values that must remain visible to a tracing collector while a function is stopped at a safepoint.
Package gcrootplan computes the Go SSA values that must remain visible to a tracing collector while a function is stopped at a safepoint.
goarch
Package goarch parses the Go toolchain's architecture-specific build configuration.
Package goarch parses the Go toolchain's architecture-specific build configuration.
goescape
Package goescape analyzes Go storage lifetimes before LLVM lowering.
Package goescape analyzes Go storage lifetimes before LLVM lowering.
goflags
Package goflags parses Go-compatible build flag syntax into typed LLGo configuration.
Package goflags parses Go-compatible build flag syntax into typed LLGo configuration.
heap2stack
Package heap2stack applies LLGo's storage-placement policy around LLVM's heap-to-stack analysis.
Package heap2stack applies LLGo's storage-placement policy around LLVM's heap-to-stack analysis.
llvmattr
Package llvmattr describes compiler-owned LLVM contracts for runtime allocators.
Package llvmattr describes compiler-owned LLVM contracts for runtime allocators.
llvmfmv
Package llvmfmv implements early, CPU-guarded LLVM function specialization directly through the LLVM Go API, independently of optimization and LTO.
Package llvmfmv implements early, CPU-guarded LLVM function specialization directly through the LLVM Go API, independently of optimization and LTO.
llvmintrinsic
Package llvmintrinsic describes and checks LLVM intrinsic signatures.
Package llvmintrinsic describes and checks LLVM intrinsic signatures.
locality
Package locality defines the source-level TLS and GLS declaration model.
Package locality defines the source-level TLS and GLS declaration model.
locality/layout
Package layout plans the internal storage layout for one package's local variables.
Package layout plans the internal storage layout for one package's local variables.
lto
meta
Package meta defines the binary format and in-memory view for LLGo package summary cache files (.meta).
Package meta defines the binary format and in-memory view for LLGo package summary cache files (.meta).
midway
Package midway specializes portable SIMD source before construction of Go SSA.
Package midway specializes portable SIMD source before construction of Go SSA.
pclnmap
Package pclnmap encodes LLGo's optional external runtime-symbolization map.
Package pclnmap encodes LLGo's optional external runtime-symbolization map.
pclnpost
Package pclnpost implements the P1/P2 prototype of link-phase ftab/findfunctab generation (doc/design/pclntab-linkphase.md).
Package pclnpost implements the P1/P2 prototype of link-phase ftab/findfunctab generation (doc/design/pclntab-linkphase.md).
pclntab
Package pclntab contains the Go-style findfunc bucket/index algorithm used by LLGo runtime metadata.
Package pclntab contains the Go-style findfunc bucket/index algorithm used by LLGo runtime metadata.
quoted
Package quoted implements the argument-list quoting rules used by the Go command for compiler environment variables and linker flag values.
Package quoted implements the argument-list quoting rules used by the Go command for compiler environment variables and linker flag values.
safepointplan
Package safepointplan identifies control-flow edges that must poll for cooperative scheduling.
Package safepointplan identifies control-flow edges that must poll for cooperative scheduling.
sizereport
Package sizereport measures final binary artifacts independently of the compiler.
Package sizereport measures final binary artifacts independently of the compiler.
test2json
Package test2json implements conversion of test binary output to JSON.
Package test2json implements conversion of test binary output to JSON.
wasmdebug
Package wasmdebug implements the WebAssembly tool-conventions packaging for embedded and external DWARF custom sections.
Package wasmdebug implements the WebAssembly tool-conventions packaging for embedded and external DWARF custom sections.
wasmworkers
Package wasmworkers validates the bounded WebAssembly worker-pool setting.
Package wasmworkers validates the bounded WebAssembly worker-pool setting.
runtime module
ssa
abi
test
cgo
go/linkname command
goroot/report command
internal/binaryfixture
Package binaryfixture supplies native-format inputs for parser tests on hosts such as wasm that cannot execute a compiler.
Package binaryfixture supplies native-format inputs for parser tests on hosts such as wasm that cannot execute a compiler.
xtool
ar
env
nm

Jump to

Keyboard shortcuts

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