- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for pcln (0.04 sec)
-
src/cmd/internal/obj/pcln.go
nfuncdata = int(p.From.Offset + 1) } } pcln.Pcdata = make([]*LSym, npcdata) pcln.Funcdata = make([]*LSym, nfuncdata) pcln.Pcsp = funcpctab(ctxt, cursym, "pctospadj", pctospadj, nil) pcln.Pcfile = funcpctab(ctxt, cursym, "pctofile", pctofileline, pcln) pcln.Pcline = funcpctab(ctxt, cursym, "pctoline", pctofileline, nil)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 31 20:45:15 UTC 2022 - 11.8K bytes - Viewed (0) -
src/cmd/link/internal/ld/pcln.go
if ctxt.Target.IsRISCV64() { // Avoid adding local symbols to the pcln table - RISC-V // linking generates a very large number of these, particularly // for HI20 symbols (which we need to load in order to be able // to resolve relocations). Unnecessarily including all of // these symbols quickly blows out the size of the pcln table // and overflows hash buckets. symName := ctxt.loader.SymName(s)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 29.6K bytes - Viewed (0) -
src/cmd/internal/objfile/objfile.go
// If the raw file implements Liner directly, use that. // Currently, only Go intermediate objects and archives (goobj) use this path. if pcln, ok := e.raw.(Liner); ok { return pcln, nil } // Otherwise, read the pcln tables and build a Liner out of that. textStart, symtab, pclntab, err := e.raw.pcln() if err != nil { return nil, err } syms, err := e.raw.symbols() if err == nil { for _, s := range syms {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 24 16:01:55 UTC 2021 - 4.2K bytes - Viewed (0) -
src/cmd/pprof/pprof.go
// No support for build ID. return "" } func (f *file) SourceLine(addr uint64) ([]driver.Frame, error) { if f.pcln == nil { pcln, err := f.file.PCLineTable() if err != nil { return nil, err } f.pcln = pcln } addr -= f.offset file, line, fn := f.pcln.PCToLine(addr) if fn != nil { frame := []driver.Frame{ { Func: fn.Name, File: file, Line: line,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 9.5K bytes - Viewed (0) -
src/cmd/internal/obj/objfile.go
} if fn.Pcln.Pcsp != nil && fn.Pcln.Pcsp.Size != 0 { w.aux1(goobj.AuxPcsp, fn.Pcln.Pcsp) } if fn.Pcln.Pcfile != nil && fn.Pcln.Pcfile.Size != 0 { w.aux1(goobj.AuxPcfile, fn.Pcln.Pcfile) } if fn.Pcln.Pcline != nil && fn.Pcln.Pcline.Size != 0 { w.aux1(goobj.AuxPcline, fn.Pcln.Pcline) } if fn.Pcln.Pcinline != nil && fn.Pcln.Pcinline.Size != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 24K bytes - Viewed (0) -
src/debug/gosym/pclntab_test.go
dat := read115Executable(t) const textStart = 0x1001000 pcln := NewLineTable(dat, textStart) tab, err := NewTable(nil, pcln) if err != nil { t.Fatal(err) } var f *Func var pc uint64 pc, f, err = tab.LineToPC("/tmp/hello.go", 3) if err != nil { t.Fatal(err) } if pcln.version != ver12 { t.Fatal("Expected pcln to parse as an older version") } if pc != 0x105c280 {
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/disasm.go
"golang.org/x/arch/ppc64/ppc64asm" "golang.org/x/arch/x86/x86asm" ) // Disasm is a disassembler for a given File. type Disasm struct { syms []Sym //symbols in file, sorted by address pcln Liner // pcln table text []byte // bytes of text segment (actual instructions) textStart uint64 // start PC of text textEnd uint64 // end PC of text
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 10.5K bytes - Viewed (0) -
src/cmd/link/internal/ld/symtab.go
} // The pcHeader moduledata.AddAddr(ctxt.Arch, pcln.pcheader) // The function name slice sliceSym(pcln.funcnametab) // The cutab slice sliceSym(pcln.cutab) // The filetab slice sliceSym(pcln.filetab) // The pctab slice sliceSym(pcln.pctab) // The pclntab slice slice(pcln.pclntab, uint64(ldr.SymSize(pcln.pclntab))) // The ftab slice
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 16:29:40 UTC 2023 - 29.2K bytes - Viewed (0) -
src/debug/gosym/symtab.go
// Starting with Go 1.3, the Go symbol table no longer includes symbol data. func NewTable(symtab []byte, pcln *LineTable) (*Table, error) { var n int err := walksymtab(symtab, func(s sym) error { n++ return nil }) if err != nil { return nil, err } var t Table if pcln.isGo12() { t.go12line = pcln } fname := make(map[uint16]string) t.Syms = make([]Sym, 0, n) nf := 0 nz := 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 17.9K bytes - Viewed (0) -
src/cmd/internal/obj/line.go
} // getFileIndexAndLine returns the relative file index (local to the CU), and // the relative line number for a position (i.e., as adjusted by a //line // directive). This is the file/line visible in the final binary (pcfile, pcln, // etc). func (ctxt *Link) getFileIndexAndLine(xpos src.XPos) (int, int32) { pos := ctxt.InnermostPos(xpos) if !pos.IsKnown() { pos = src.Pos{} } return pos.FileIndex(), int32(pos.RelLine())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 15:52:41 UTC 2023 - 892 bytes - Viewed (0)