src/runtime/vdso_in_none.go
raw| 1 | // Copyright 2018 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | //go:build (linux && !386 && !amd64 && !arm && !arm64 && !loong64 && !mips64 && !mips64le && !ppc64 && !ppc64le && !riscv64 && !s390x) || !linux |
| 6 | |
| 7 | package runtime |
| 8 | |
| 9 | // A dummy version of inVDSOPage for targets that don't use a VDSO. |
| 10 | |
| 11 | func inVDSOPage(pc uintptr) bool { |
| 12 | return false |
| 13 | } |