Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for debug_loc (0.12 sec)

  1. src/runtime/export_debuglog_test.go

    // Copyright 2019 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Export debuglog guts for testing.
    
    package runtime
    
    const DlogEnabled = dlogEnabled
    
    const DebugLogBytes = debugLogBytes
    
    const DebugLogStringLimit = debugLogStringLimit
    
    var Dlog = dlog
    
    func (l *dlogger) End()                  { l.end() }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 15 16:49:45 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/main.go

    	objabi.Flagcount("v", "print link trace", &ctxt.Debugvlog)
    	objabi.Flagfn1("importcfg", "read import configuration from `file`", ctxt.readImportCfg)
    
    	objabi.Flagparse(usage)
    	telemetry.CountFlags("link/flag:", *flag.CommandLine)
    
    	if ctxt.Debugvlog > 0 {
    		// dump symbol info on crash
    		defer func() { ctxt.loader.Dump() }()
    	}
    	if ctxt.Debugvlog > 1 {
    		// dump symbol info on error
    		AtExit(func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/deadcode.go

    					continue
    				}
    				m := d.decodeIfaceMethod(d.ldr, d.ctxt.Arch, rs, r.Add())
    				if d.ctxt.Debugvlog > 1 {
    					d.ctxt.Logf("reached iface method: %v\n", m)
    				}
    				d.ifaceMethod[m] = true
    				continue
    			case objabi.R_USENAMEDMETHOD:
    				name := d.decodeGenericIfaceMethod(d.ldr, r.Sym())
    				if d.ctxt.Debugvlog > 1 {
    					d.ctxt.Logf("reached generic iface method: %s\n", name)
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/ar.go

    // libgcc.a.
    func hostArchive(ctxt *Link, name string) {
    	if ctxt.Debugvlog > 1 {
    		ctxt.Logf("hostArchive(%s)\n", name)
    	}
    	f, err := bio.Open(name)
    	if err != nil {
    		if os.IsNotExist(err) {
    			// It's OK if we don't have a libgcc file at all.
    			if ctxt.Debugvlog != 0 {
    				ctxt.Logf("skipping libgcc file: %v\n", err)
    			}
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 19 23:11:11 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  5. src/cmd/asm/main.go

    	if architecture == nil {
    		log.Fatalf("unrecognized architecture %s", GOARCH)
    	}
    	ctxt := obj.Linknew(architecture.LinkArch)
    	ctxt.Debugasm = flags.PrintOut
    	ctxt.Debugvlog = flags.DebugV
    	ctxt.Flag_dynlink = *flags.Dynlink
    	ctxt.Flag_linkshared = *flags.Linkshared
    	ctxt.Flag_shared = *flags.Shared || *flags.Dynlink
    	ctxt.Flag_maymorestack = flags.DebugFlags.MayMoreStack
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. src/runtime/lockrank_on.go

    // split on entry to lock2() would record stack split locks as taken after l,
    // even though l is not actually locked yet.
    func lockWithRank(l *mutex, rank lockRank) {
    	if l == &debuglock || l == &paniclk || l == &raceFiniLock {
    		// debuglock is only used for println/printlock(). Don't do lock
    		// rank recording for it, since print/println are used when
    		// printing out a lock ordering problem below.
    		//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:29:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/lib.go

    			shlibname := filepath.Join(libdir, name+".shlibname")
    			if ctxt.Debugvlog != 0 {
    				ctxt.Logf("searching for %s.a in %s\n", name, shlibname)
    			}
    			if _, err := os.Stat(shlibname); err == nil {
    				return addlibpath(ctxt, "internal", "internal", "", name, shlibname, zerofp)
    			}
    		}
    		pname := filepath.Join(libdir, name+".a")
    		if ctxt.Debugvlog != 0 {
    			ctxt.Logf("searching for %s.a in %s\n", name, pname)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  8. src/net/rpc/client.go

    	client.reqMutex.Unlock()
    	if debugLog && err != io.EOF && !closing {
    		log.Println("rpc: client protocol error:", err)
    	}
    }
    
    func (call *Call) done() {
    	select {
    	case call.Done <- call:
    		// ok
    	default:
    		// We don't want to block here. It is the caller's responsibility to make
    		// sure the channel has enough buffer space. See comment in Go().
    		if debugLog {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 9K bytes
    - Viewed (0)
  9. src/net/rpc/debug.go

    			</tr>
    		{{end}}
    		</table>
    	{{end}}
    	</body>
    	</html>`
    
    var debug = template.Must(template.New("RPC debug").Parse(debugText))
    
    // If set, print log statements for internal and I/O errors.
    var debugLog = false
    
    type debugMethod struct {
    	Type *methodType
    	Name string
    }
    
    type methodArray []debugMethod
    
    type debugService struct {
    	Service *service
    	Name    string
    	Method  []debugMethod
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/ld.go

    		// possible that l's fingerprint is not yet loaded -- exclude it in
    		// checking.
    		checkFingerprint(l, l.Fingerprint, src, fingerprint)
    		return l
    	}
    
    	pname, isshlib := findlib(ctxt, lib)
    
    	if ctxt.Debugvlog > 1 {
    		ctxt.Logf("addlib: %s %s pulls in %s isshlib %v\n", obj, src, pname, isshlib)
    	}
    
    	if isshlib {
    		return addlibpath(ctxt, src, obj, "", pkg, pname, fingerprint)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:48:30 UTC 2023
    - 8K bytes
    - Viewed (0)
Back to top