2017-04-05 08:01:33 -07:00
|
|
|
// Copyright 2017 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.
|
|
|
|
|
|
2021-02-19 18:35:10 -05:00
|
|
|
//go:build !go1.8
|
2017-04-05 08:01:33 -07:00
|
|
|
// +build !go1.8
|
|
|
|
|
|
|
|
|
|
package gc
|
|
|
|
|
|
2020-11-19 20:49:23 -05:00
|
|
|
import (
|
|
|
|
|
"cmd/compile/internal/base"
|
|
|
|
|
"runtime"
|
|
|
|
|
)
|
2017-04-05 08:01:33 -07:00
|
|
|
|
|
|
|
|
func startMutexProfiling() {
|
2020-11-19 20:49:23 -05:00
|
|
|
base.Fatalf("mutex profiling unavailable in version %v", runtime.Version())
|
2017-04-05 08:01:33 -07:00
|
|
|
}
|