runtime: config hasAltPkg and ignoreName

This commit is contained in:
visualfc
2025-02-06 10:48:08 +08:00
parent 9a634b22a7
commit 1b3464b610
7 changed files with 101 additions and 280 deletions

View File

@@ -30,6 +30,7 @@ import (
"github.com/goplus/llgo/compiler/internal/env"
llssa "github.com/goplus/llgo/compiler/ssa"
llruntime "github.com/goplus/llgo/runtime"
)
// -----------------------------------------------------------------------------
@@ -668,4 +669,8 @@ func replaceGoName(v string, pos int) string {
return v
}
func ignoreName(name string) bool {
return llruntime.IgnoreName(name)
}
// -----------------------------------------------------------------------------