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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.