This commit is contained in:
xushiwei
2024-04-24 11:13:17 +08:00
parent 2cbcc53c54
commit b1342d8d97
2 changed files with 51 additions and 13 deletions

View File

@@ -116,6 +116,9 @@ func (p *context) compileGlobal(pkg llssa.Package, gbl *ssa.Global) {
func (p *context) compileFunc(pkg llssa.Package, f *ssa.Function) {
name := p.funcName(f.Pkg.Pkg, f)
if name == "unsafe.init" {
return
}
if debugInstr {
log.Println("==> NewFunc", name)
}