...

Source file src/cmd/link/internal/ld/outbuf_nommap.go

     1	// Copyright 2019 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	// +build !darwin,!dragonfly,!freebsd,!linux,!openbsd
     6	
     7	package ld
     8	
     9	import "errors"
    10	
    11	var errNotSupported = errors.New("mmap not supported")
    12	
    13	func (out *OutBuf) Mmap(filesize uint64) error { return errNotSupported }
    14	func (out *OutBuf) Munmap()                    { panic("unreachable") }
    15	func (out *OutBuf) Msync() error               { panic("unreachable") }
    16	

View as plain text