Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for PF_X (0.06 sec)

  1. src/cmd/internal/objfile/elf.go

    		return "ppc64"
    	case elf.EM_S390:
    		return "s390x"
    	}
    	return ""
    }
    
    func (f *elfFile) loadAddress() (uint64, error) {
    	for _, p := range f.elf.Progs {
    		if p.Type == elf.PT_LOAD && p.Flags&elf.PF_X != 0 {
    			// The memory mapping that contains the segment
    			// starts at an aligned address. Apparently this
    			// is what pprof expects, as it uses this and the
    			// start address of the mapping to compute PC
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 20:44:50 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top