WIP cores scheduler

This commit is contained in:
Ayke van Laethem
2025-01-13 17:31:34 +01:00
parent cce44b5ebb
commit 04242fd620
28 changed files with 737 additions and 74 deletions
+2
View File
@@ -208,6 +208,8 @@ func (c *compilerContext) getFunction(fn *ssa.Function) (llvm.Type, llvm.Value)
// > circumstances, and should not be exposed to source languages.
llvmutil.AppendToGlobal(c.mod, "llvm.compiler.used", llvmFn)
}
case "tinygo_exitTask", "tinygo_schedulerUnlock":
llvmutil.AppendToGlobal(c.mod, "llvm.used", llvmFn)
}
// External/exported functions may not retain pointer values.