cl

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2026 License: Apache-2.0 Imports: 25 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	DbgFlagInstruction dbgFlags = 1 << iota
	DbgFlagGoSSA

	DbgFlagAll = DbgFlagInstruction | DbgFlagGoSSA
)
View Source
const (
	PkgNormal = iota
	PkgLLGo
	PkgPyModule   // py.<module>
	PkgNoInit     // noinit: a package that don't need to be initialized
	PkgDeclOnly   // decl: a package that only have declarations
	PkgLinkIR     // link llvm ir (.ll)
	PkgLinkExtern // link external object (.a/.so/.dll/.dylib/etc.)

)
View Source
const (
	RuntimeInit = llssa.PkgRuntime + ".init"
)

Variables

This section is empty.

Functions

func NewPackage

func NewPackage(prog llssa.Program, pkg *ssa.Package, files []*ast.File) (ret llssa.Package, err error)

NewPackage compiles a Go package to LLVM IR package. Deprecated: use NewPackageExWithEmbedMetaOptions with explicit Options.

func NewPackageEx

func NewPackageEx(prog llssa.Program, patches Patches, rewrites map[string]string, pkg *ssa.Package, files []*ast.File) (ret llssa.Package, externs []string, err error)

NewPackageEx compiles a Go package to LLVM IR package.

Parameters:

  • prog: target LLVM SSA program context
  • patches: optional package patches applied during compilation
  • rewrites: per-package string initializers rewritten at compile time
  • pkg: SSA package to compile
  • files: parsed AST files that belong to the package

The rewrites map uses short variable names (without package qualifier) and only affects string-typed globals defined in the current package. Deprecated: use NewPackageExWithEmbedMetaOptions with explicit Options.

func NewPackageExWithEmbed

func NewPackageExWithEmbed(prog llssa.Program, ct *CallerTracking, patches Patches, rewrites map[string]string, pkg *ssa.Package, files []*ast.File, embedMap goembed.VarMap) (ret llssa.Package, externs []string, err error)

NewPackageExWithEmbed compiles a package using pre-loaded go:embed metadata.

This avoids re-scanning directives when the caller already loaded them. ct carries the compilation-scoped caller-tracking memoization; drivers compiling multiple packages pass the same instance for every package of one compilation (like patches). nil means one-shot: a fresh instance is created for this call. Deprecated: use NewPackageExWithEmbedMetaOptions with explicit Options.

func NewPackageExWithEmbedMeta

func NewPackageExWithEmbedMeta(prog llssa.Program, ct *CallerTracking, patches Patches, rewrites map[string]string, pkg *ssa.Package, files []*ast.File, embedMap goembed.VarMap, metaCollect bool) (ret llssa.Package, externs []string, err error)

NewPackageExWithEmbedMeta compiles a package and optionally collects metadata. Deprecated: use NewPackageExWithEmbedMetaOptions with explicit Options.

func NewPackageExWithEmbedMetaOptions

func NewPackageExWithEmbedMetaOptions(prog llssa.Program, ct *CallerTracking, patches Patches, rewrites map[string]string, pkg *ssa.Package, files []*ast.File, embedMap goembed.VarMap, metaCollect bool, options Options) (ret llssa.Package, externs []string, err error)

NewPackageExWithEmbedMetaOptions is NewPackageExWithEmbedMeta with explicit per-package frontend options.

func ParsePkgSyntax

func ParsePkgSyntax(prog llssa.Program, fset *token.FileSet, pkg *types.Package, files []*ast.File) error

ParsePkgSyntax collects declaration directives in one syntax pass before SSA creation using default frontend options.

func ParsePkgSyntaxWithOptions

func ParsePkgSyntaxWithOptions(prog llssa.Program, fset *token.FileSet, pkg *types.Package, files []*ast.File, options Options) error

ParsePkgSyntaxWithOptions collects all Program-side declaration metadata. LLVM Package effects such as preserving //export symbols are applied later.

func PkgKindOf

func PkgKindOf(pkg *types.Package) (int, string)

PkgKindOf returns the kind of a package.

func PkgSkipsInit

func PkgSkipsInit(kind int) bool

PkgSkipsInit reports whether packages of kind are excluded from Go package initialization.

func PrepareInactiveLocalVariables

func PrepareInactiveLocalVariables(prog llssa.Program, fset *token.FileSet, pkg *types.Package, info *types.Info, files []*ast.File) error

PrepareInactiveLocalVariables prepares declarations from an alternate package without making them affect the program-wide LocalContext decision. The build driver activates an alternate package only when its canonical package participates in the effective dependency graph.

func PrepareLocalVariables

func PrepareLocalVariables(prog llssa.Program, fset *token.FileSet, pkg *types.Package, info *types.Info, files []*ast.File) error

PrepareLocalVariables extracts replayable initializer helpers before Go SSA construction, then records the storage strategy selected by the independent package-layout planner.

func SetDebug

func SetDebug(dbgFlags dbgFlags)

SetDebug sets debug flags.

Types

type CallerTracking

type CallerTracking struct {
	// contains filtered or unexported fields
}

CallerTracking memoizes frontend analyses for one compilation. Like Patches, it is compilation-scoped state owned by the driver: create one per compilation and pass it to every NewPackageExWithEmbed call of that compilation, so cross-package queries hit the same caller-tracking and recover facts. It must not outlive the compilation — the caches are keyed by *ssa.Package and *ssa.Function, so anything longer-lived would pin every compiled package's go/types and go/ssa graphs. Concurrent drivers call Precompute before workers start; recover facts also synchronize lazy queries for nested and synthetic functions that are not package members.

func NewCallerTracking

func NewCallerTracking() *CallerTracking

NewCallerTracking creates the frontend-analysis caches for one compilation.

func (*CallerTracking) Precompute

func (c *CallerTracking) Precompute(pkgs []*ssa.Package)

Precompute resolves caller-tracking and recover data before package backends start. Once it returns, callers may share c for concurrent lookups as long as pkgs contains every package that can be passed to this compilation. A later caller-tracking lookup miss panics instead of mutating the shared maps; recover facts retain their own synchronization for nested and synthetic functions that are not package members.

type Options

type Options struct {
	Debug        bool
	DebugSymbols bool
	Trace        bool
	ExportRename bool
	ShadowStack  bool
	// PreloadedSyntax means all Program-side source metadata was collected
	// before lowering and is now shared read-only by backend Programs.
	PreloadedSyntax bool
}

Options contains frontend behavior for one package compilation.

type Patch

type Patch struct {
	Alt   *ssa.Package
	Types *types.Package
}

Patch is a patch of some package.

type Patches

type Patches = map[string]Patch

Patches is patches of some packages.

Directories

Path Synopsis
_testdata
apkg
LITTEST
LITTEST
cpkg
LITTEST
LITTEST
cpkgimp command
LITTEST
LITTEST
debug command
LITTEST
LITTEST
embedunexport
LITTEST
LITTEST
floatint command
LITTEST: POST-ABI darwin/arm64 linux/amd64 linux/arm64 NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=f32ToI32 --function=f32ToU32 --function=f64ToUintptr --check-globals=none
LITTEST: POST-ABI darwin/arm64 linux/amd64 linux/arm64 NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=f32ToI32 --function=f32ToU32 --function=f64ToUintptr --check-globals=none
fncall command
LITTEST
LITTEST
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
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
importpkg command
LITTEST
LITTEST
llgointrinsics
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
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
method command
LITTEST
LITTEST
print command
LITTEST
LITTEST
printf command
LITTEST
LITTEST
printval command
LITTEST
LITTEST
ptrmthd command
LITTEST
LITTEST
uint command
LITTEST
LITTEST
untyped command
LITTEST
LITTEST
utf8 command
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.index\E|\Qmain.main\E) --check-globals=smart
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.index\E|\Qmain.main\E) --check-globals=smart
vargs command
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.main\E|\Qmain.test\E) --check-globals=smart
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.main\E|\Qmain.test\E) --check-globals=smart
varinit command
LITTEST
LITTEST
_testdefer
gobuild command
loop command
multiret command
print command
singleret command
_testdrop
c_export_callback command
LITTEST
LITTEST
direct_func command
LITTEST
LITTEST
direct_method command
LITTEST
LITTEST
exported_method_crosspkg command
LITTEST
LITTEST
generic_interface_crosspkg command
LITTEST
LITTEST
LITTEST
iface_flow_crosspkg command
LITTEST
LITTEST
interface_demand_fixedpoint command
LITTEST
LITTEST
interface_match command
LITTEST
LITTEST
interface_slot command
LITTEST
LITTEST
promoted_method_wrapper command
LITTEST
LITTEST
LITTEST
reflect_field_addr_iface command
LITTEST
LITTEST
reflect_method_result command
LITTEST
LITTEST
reflect_named_method command
LITTEST
LITTEST
source64_crosspkg command
LITTEST
LITTEST
unexported_method_identity command
LITTEST
LITTEST
_testgo
abimethod command
LITTEST
LITTEST
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
allocinloop command
LITTEST
LITTEST
blankfield command
LITTEST
LITTEST
cgobasic command
LITTEST
LITTEST
cgocfiles command
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain._Cfunc_test_structs\E|\Qmain.main\E) --check-globals=smart
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain._Cfunc_test_structs\E|\Qmain.main\E) --check-globals=smart
cgodefer command
LITTEST
LITTEST
cgofull command
LITTEST
LITTEST
cgomacro command
LITTEST
LITTEST
cgopython command
LITTEST
LITTEST
chan command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
closure command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
closure2 command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
closureall command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
closureenv command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
complitassign command
LITTEST
LITTEST
complitnil command
LITTEST
LITTEST
constconv command
LITTEST
LITTEST
cursor command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
defer1 command
LITTEST
LITTEST
defer2 command
LITTEST
LITTEST
defer3 command
LITTEST
LITTEST
defer4 command
LITTEST
LITTEST
defer5 command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
deferclosure command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
defercomplex command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
deferdispatch command
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=run --check-globals=smart
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=run --check-globals=smart
deferdispatch-wasm command
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=run --check-globals=smart
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=run --check-globals=smart
deferdispatch-wasm-target command
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=run --check-globals=smart
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=run --check-globals=smart
deferiface command
LITTEST
LITTEST
deferloop command
LITTEST
LITTEST
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
equal command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
errors command
LITTEST
LITTEST
genericembediface command
LITTEST
LITTEST
genericiter command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
goexit command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
goroutine command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
ifaceconv command
LITTEST
LITTEST
ifaceprom command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
indexerr command
LITTEST
LITTEST
interface command
LITTEST
LITTEST
interface1370 command
LITTEST
LITTEST
invoke command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
localitycodegen command
LITTEST
LITTEST
makemaphint command
LITTEST
LITTEST
makeslice command
LITTEST
LITTEST
mapfast command
LITTEST
LITTEST
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
multiret command
LITTEST
LITTEST
nesteddeferpanic command
LITTEST
LITTEST
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"
print command
LITTEST
LITTEST
reader command
LITTEST
LITTEST
recoverthenpanic command
LITTEST
LITTEST
reflect command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
reflectconv command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
reflectfn command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
reflectmk command
LITTEST
LITTEST
reflectmkfn command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
returnorder command
LITTEST
LITTEST
rewrite command
LITTEST
LITTEST
runextest command
LITTEST
LITTEST
runtest command
LITTEST
LITTEST
select command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
selects command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
sigsegv command
LITTEST
LITTEST
strucintf command
LITTEST
LITTEST
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
syncmap command
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.main\E|\Qmain.main$1\E) --check-globals=smart
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.main\E|\Qmain.main$1\E) --check-globals=smart
tpindex command
LITTEST
LITTEST
tpinst command
LITTEST
LITTEST
tplocalclosureiface command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
tplocaltype command
LITTEST
LITTEST
tpnamed command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
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
tprecurfn command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
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
tpycombinator command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
typerecur command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
_testlibc
allocacstrs 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
argv command
LITTEST
LITTEST
atomic command
LITTEST
LITTEST
complex command
LITTEST
LITTEST
defer command
LITTEST
LITTEST
demangle command
LITTEST
LITTEST
once command
LITTEST
LITTEST
setjmp command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
sqlite command
LITTEST
LITTEST
_testlibgo
atomic command
LITTEST
LITTEST
bytes command
LITTEST
LITTEST
complex command
LITTEST
LITTEST
deferpanic command
LITTEST
LITTEST
errors command
LITTEST
LITTEST
mapzero command
LITTEST darwin/arm64 linux/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 linux/amd64 NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.main\E|\Qmain.main$1\E) --check-globals=smart
math command
LITTEST
LITTEST
mathbits command
LITTEST
LITTEST
nettextproto command
LITTEST
LITTEST
os command
LITTEST
LITTEST
strings command
LITTEST
LITTEST
sync command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
waitgroup command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
_testlto
abitype_runtime command
anonymous_alias command
LITTEST
LITTEST
globaldce_interface_matrix command
LITTEST
LITTEST
globaldce_interface_slots command
LITTEST
LITTEST
globaldce_reflect_method command
LITTEST
LITTEST
LITTEST
LITTEST
LITTEST
LITTEST
LITTEST
LITTEST
LITTEST
LITTEST
LITTEST
LITTEST
LITTEST
LITTEST
LITTEST
globaldce_typeid_dce command
LITTEST
LITTEST
LITTEST
testpcline command
typed_runtime command
_testmeta
ifaceuse_basic command
interface_named command
reflect_dynamic command
reflect_named command
_testpy
callpy command
LITTEST
LITTEST
gcd command
LITTEST
LITTEST
list command
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.init\E|\Qmain.main\E) --check-globals=smart
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.init\E|\Qmain.main\E) --check-globals=smart
math
LITTEST
LITTEST
matrix 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
max 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
pi command
LITTEST
LITTEST
pow command
LITTEST
LITTEST
_testrt
abinamed command
LITTEST
LITTEST
abitype command
LITTEST
LITTEST
alloca command
LITTEST
LITTEST
allocstr command
LITTEST
LITTEST
any command
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.hi\E|\Qmain.incVal\E|\Qmain.main\E) --check-globals=smart
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.hi\E|\Qmain.incVal\E|\Qmain.main\E) --check-globals=smart
asm command
LITTEST
LITTEST
asmfull command
LITTEST
LITTEST
builtin command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
callback command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
cast command
LITTEST
LITTEST
clear
LITTEST
LITTEST
closure command
LITTEST darwin/arm64 linux/amd64 NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.main\E|\Qmain.main$1\E|\Qmain.main$2\E|\Qmain.main$3\E) --check-globals=smart
LITTEST darwin/arm64 linux/amd64 NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.main\E|\Qmain.main$1\E|\Qmain.main$2\E|\Qmain.main$3\E) --check-globals=smart
closurebound command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
closureconv command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
closureiface command
LITTEST darwin/arm64 linux/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 linux/amd64 NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.main\E|\Qmain.main$1\E) --check-globals=smart
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
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
constuptr command
LITTEST
LITTEST
cstr command
LITTEST
LITTEST
cvar command
LITTEST
LITTEST
eface command
LITTEST
LITTEST
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
fprintf command
LITTEST
LITTEST
freevars command
LITTEST darwin/arm64 linux/amd64 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 linux/amd64 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
funcaddr command
LITTEST
LITTEST
funcdecl command
LITTEST
LITTEST
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
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
gotypes command
LITTEST
LITTEST
hello command
LITTEST
LITTEST
index command
LITTEST
LITTEST
intgen command
LITTEST darwin/arm64 linux/amd64 NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.genInts\E|\Qmain.(*generator).next\E|\Qmain.main\E|\Qmain.main$1\E|\Qmain.(*generator).next$bound\E) --check-globals=smart
LITTEST darwin/arm64 linux/amd64 NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.genInts\E|\Qmain.(*generator).next\E|\Qmain.main\E|\Qmain.main$1\E|\Qmain.(*generator).next$bound\E) --check-globals=smart
len command
LITTEST
LITTEST
linkname command
LITTEST
LITTEST
litdemo command
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --all-functions --check-globals=smart
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --all-functions --check-globals=smart
makemap command
LITTEST
LITTEST
map command
LITTEST
LITTEST
mapclosure command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
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
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
named command
LITTEST darwin/arm64 linux/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 linux/amd64 NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.main\E|\Qmain.main$1\E) --check-globals=smart
namedslice command
LITTEST
LITTEST
nextblock command
LITTEST
LITTEST
panic command
LITTEST
LITTEST
ptrtothislazy command
LITTEST
LITTEST
ptrtothislazynew command
LITTEST
LITTEST
qsort command
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.main\E|\Qmain.main$1\E) --check-globals=smart
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.main\E|\Qmain.main$1\E) --check-globals=smart
qsortfn command
LITTEST
LITTEST
reflectclosureenv command
LITTEST darwin/arm64 linux/amd64
LITTEST darwin/arm64 linux/amd64
result command
LITTEST darwin/arm64 linux/amd64 NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.add\E|\Qmain.add$1\E|\Qmain.add2\E|\Qmain.add2$1\E|\Qmain.main\E|\Qmain.main$1\E|\Qmain.main$1$1\E) --check-globals=smart
LITTEST darwin/arm64 linux/amd64 NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.add\E|\Qmain.add$1\E|\Qmain.add2\E|\Qmain.add2$1\E|\Qmain.main\E|\Qmain.main$1\E|\Qmain.main$1$1\E) --check-globals=smart
slice2array command
LITTEST
LITTEST
slicelen command
LITTEST
LITTEST
stacksave command
LITTEST
LITTEST
strlen command
LITTEST
LITTEST
struct command
LITTEST
LITTEST
structsize command
LITTEST
LITTEST
sum command
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.main\E|\Qmain.sum\E) --check-globals=smart
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.main\E|\Qmain.sum\E) --check-globals=smart
tpabi command
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.main\E|\Qmain.T[string,int].Info\E|\Qmain.(*T[string,int]).Demo\E|\Qmain.(*T[string,int]).Info\E) --check-globals=smart
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.main\E|\Qmain.T[string,int].Info\E|\Qmain.(*T[string,int]).Demo\E|\Qmain.(*T[string,int]).Info\E) --check-globals=smart
tpfunc command
LITTEST
LITTEST
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
tpmethod command
LITTEST darwin/arm64 linux/amd64 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 linux/amd64 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
tpunsafe command
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.main\E|\Qmain.(*M[bool]).check\E|\Qmain.(*M[int64]).check\E) --check-globals=smart
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.main\E|\Qmain.(*M[bool]).check\E|\Qmain.(*M[int64]).check\E) --check-globals=smart
typalias command
LITTEST
LITTEST
typed command
LITTEST
LITTEST
unreachable command
LITTEST
LITTEST
unsafe command
LITTEST
LITTEST
vamethod command
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.CFmt.Printf\E|\Qmain.(*CFmt).Printf\E|\Qmain.(*CFmt).SetFormat\E|\Qmain.main\E) --check-globals=smart
LITTEST NOTE: Assertions have been autogenerated by chore/litgen UTC_ARGS: --function=(?:\Qmain.CFmt.Printf\E|\Qmain.(*CFmt).Printf\E|\Qmain.(*CFmt).SetFormat\E|\Qmain.main\E) --check-globals=smart

Jump to

Keyboard shortcuts

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