github.com/cnboonhan/delve@v0.0.0-20230908061759-363f2388c2fb/pkg/proc/native/dump_other.go (about)

     1  //go:build darwin || (windows && arm64)
     2  // +build darwin windows,arm64
     3  
     4  package native
     5  
     6  import (
     7  	"github.com/go-delve/delve/pkg/elfwriter"
     8  	"github.com/go-delve/delve/pkg/proc"
     9  )
    10  
    11  func (p *nativeProcess) MemoryMap() ([]proc.MemoryMapEntry, error) {
    12  	return nil, proc.ErrMemoryMapNotSupported
    13  }
    14  
    15  func (p *nativeProcess) DumpProcessNotes(notes []elfwriter.Note, threadDone func()) (threadsDone bool, notesout []elfwriter.Note, err error) {
    16  	return false, notes, nil
    17  }