- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for gopclntab (0.27 sec)
-
src/cmd/internal/objfile/elf.go
} sect = f.elf.Section(".gopclntab") if sect == nil { // try .data.rel.ro.gopclntab, for PIE binaries sect = f.elf.Section(".data.rel.ro.gopclntab") } if sect != nil { if pclntab, err = sect.Data(); err != nil { return 0, nil, nil, err } } else { // if both sections failed, try the symbol pclntab = f.symbolData("runtime.pclntab", "runtime.epclntab") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 07 20:44:50 UTC 2023 - 3.9K bytes - Viewed (0) -
src/debug/gosym/pclntab_test.go
t.Skip("no .gosymtab section") } symdat, err := s.Data() if err != nil { f.Close() t.Fatalf("reading %s gosymtab: %v", file, err) } pclndat, err := f.Section(".gopclntab").Data() if err != nil { f.Close() t.Fatalf("reading %s gopclntab: %v", file, err) } pcln := NewLineTable(pclndat, f.Section(".text").Addr) tab, err := NewTable(symdat, pcln) if err != nil { f.Close()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 09 17:17:44 UTC 2022 - 9.6K bytes - Viewed (0) -
src/cmd/internal/objfile/macho.go
} func (f *machoFile) pcln() (textStart uint64, symtab, pclntab []byte, err error) { if sect := f.macho.Section("__text"); sect != nil { textStart = sect.Addr } if sect := f.macho.Section("__gosymtab"); sect != nil { if symtab, err = sect.Data(); err != nil { return 0, nil, nil, err } } if sect := f.macho.Section("__gopclntab"); sect != nil { if pclntab, err = sect.Data(); err != nil { return 0, nil, nil, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 03 16:07:59 UTC 2023 - 3.1K bytes - Viewed (0) -
src/cmd/internal/objfile/pe.go
return syms, nil } func (f *peFile) pcln() (textStart uint64, symtab, pclntab []byte, err error) { imageBase, err := f.imageBase() if err != nil { return 0, nil, nil, err } if sect := f.pe.Section(".text"); sect != nil { textStart = imageBase + uint64(sect.VirtualAddress) } if pclntab, err = loadPETable(f.pe, "runtime.pclntab", "runtime.epclntab"); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Aug 20 00:56:30 UTC 2022 - 4.9K bytes - Viewed (0) -
src/cmd/nm/nm_test.go
"runtime.text": "T", "runtime.etext": "T", "runtime.rodata": "R", "runtime.erodata": "R", "runtime.epclntab": "R", "runtime.noptrdata": "D", } if runtime.GOOS == "aix" && iscgo { // pclntab is moved to .data section on AIX. runtimeSyms["runtime.epclntab"] = "D" } out, err = testenv.Command(t, nmPath(t), exe).CombinedOutput() if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 20 23:32:34 UTC 2023 - 8.8K bytes - Viewed (0) -
src/cmd/link/internal/sym/compilation_unit.go
// // Equivalently, there's one CompilationUnit per object file in each Library // loaded by the linker. // // These are used for both DWARF and pclntab generation. type CompilationUnit struct { Lib *Library // Our library PclnIndex int // Index of this CU in pclntab PCs []dwarf.Range // PC ranges, relative to Textp[0] DWInfo *dwarf.DWDie // CU root DIE
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 20:39:56 UTC 2023 - 1.4K bytes - Viewed (0) -
src/cmd/link/internal/sym/symkind_string.go
_ = x[SGOFUNCRELRO-15] _ = x[SGCBITSRELRO-16] _ = x[SRODATARELRO-17] _ = x[SFUNCTABRELRO-18] _ = x[SELFRELROSECT-19] _ = x[STYPELINK-20] _ = x[SITABLINK-21] _ = x[SSYMTAB-22] _ = x[SPCLNTAB-23] _ = x[SFirstWritable-24] _ = x[SBUILDINFO-25] _ = x[SELFSECT-26] _ = x[SMACHO-27] _ = x[SMACHOGOT-28] _ = x[SWINDOWS-29] _ = x[SELFGOT-30] _ = x[SNOPTRDATA-31] _ = x[SINITARR-32]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 13:29:54 UTC 2024 - 2.7K bytes - Viewed (0) -
src/cmd/link/internal/sym/symkind.go
SGOSTRINGRELRO SGOFUNCRELRO SGCBITSRELRO SRODATARELRO SFUNCTABRELRO SELFRELROSECT // Part of .data.rel.ro if it exists, otherwise part of .rodata. STYPELINK SITABLINK SSYMTAB SPCLNTAB // Writable sections. SFirstWritable SBUILDINFO SELFSECT SMACHO SMACHOGOT SWINDOWS SELFGOT SNOPTRDATA SINITARR SDATA SXCOFFTOC SBSS SNOPTRBSS
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 13:29:54 UTC 2024 - 5.6K bytes - Viewed (0) -
src/runtime/symtabinl.go
) // inlinedCall is the encoding of entries in the FUNCDATA_InlTree table. type inlinedCall struct { funcID abi.FuncID // type of the called function _ [3]byte nameOff int32 // offset into pclntab for name of called function parentPc int32 // position of an instruction whose source position is the call site (offset from entry) startLine int32 // line number of start of function (func keyword/TEXT directive) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 4.5K bytes - Viewed (0) -
src/cmd/internal/objfile/goobj.go
rn := r.RefName(i) sym := Sym{Name: rn.Name(r), Code: 'U'} syms = append(syms, sym) } return syms, nil } func (f *goobjFile) pcln() (textStart uint64, symtab, pclntab []byte, err error) { // Should never be called. We implement Liner below, callers // should use that instead. return 0, nil, nil, fmt.Errorf("pcln not available in go object file") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 15:39:57 UTC 2023 - 7.8K bytes - Viewed (0)