| // Copyright 2015 The Go Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style |
| // license that can be found in the LICENSE file. |
| "cmd/compile/internal/amd64" |
| "cmd/compile/internal/arm" |
| "cmd/compile/internal/arm64" |
| "cmd/compile/internal/gc" |
| "cmd/compile/internal/mips" |
| "cmd/compile/internal/mips64" |
| "cmd/compile/internal/ppc64" |
| "cmd/compile/internal/s390x" |
| "cmd/compile/internal/x86" |
| var archInits = map[string]func(*gc.Arch){ |
| // disable timestamps for reproducible output |
| log.SetPrefix("compile: ") |
| archInit, ok := archInits[objabi.GOARCH] |
| fmt.Fprintf(os.Stderr, "compile: unknown architecture %q\n", objabi.GOARCH) |