mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-10 22:13:39 +00:00
runtime: add "none" garbage collector
This collector does not implement runtime.alloc, so it is a quick-and-dirty way to check where in a program memory is allocated.
This commit is contained in:
@@ -435,7 +435,7 @@ func handleCompilerError(err error) {
|
||||
func main() {
|
||||
outpath := flag.String("o", "", "output filename")
|
||||
opt := flag.String("opt", "z", "optimization level: 0, 1, 2, s, z")
|
||||
gc := flag.String("gc", "dumb", "garbage collector to use (dumb)")
|
||||
gc := flag.String("gc", "dumb", "garbage collector to use (none, dumb)")
|
||||
printIR := flag.Bool("printir", false, "print LLVM IR")
|
||||
dumpSSA := flag.Bool("dumpssa", false, "dump internal Go SSA")
|
||||
target := flag.String("target", "", "LLVM target")
|
||||
|
||||
Reference in New Issue
Block a user